Code Monkey home page Code Monkey logo

Comments (12)

siyengar avatar siyengar commented on August 24, 2024

Did you also put the native libs in your project structure under libs/?

from conceal.

BlaShadow avatar BlaShadow commented on August 24, 2024

what you mean when you say native libs? the conceal native folder?

from conceal.

siyengar avatar siyengar commented on August 24, 2024

Yes. Drop it into your libs folder if you have one. If not create one.

from conceal.

BlaShadow avatar BlaShadow commented on August 24, 2024

I've drop all content direct to libs and also copy the native folder into my libs project folder and still the same error.

from conceal.

siyengar avatar siyengar commented on August 24, 2024

One reason I can think of that this error happens is that the native libs are not compiled into the APK/

can you check whether it is in the APK: zipinfo <your apk> | grep "*.so"

Can you check what the contents of: adb shell ls /data/data/<your app package>/lib/

If there's no native libs there, then the libs might not be compiled into the APK. Also which build system are you using?

from conceal.

BlaShadow avatar BlaShadow commented on August 24, 2024

You're right the native libs are not compiling into the apk and the lib folder inside the phone is empty too. I'm using mac os x mavericks.

from conceal.

siyengar avatar siyengar commented on August 24, 2024

It actually depends on which build system you're using, whether it's ant, maven, gradle or buck.

No matter what the build system is there'll definitely be a how to guide on how to package a native library.

from conceal.

BlaShadow avatar BlaShadow commented on August 24, 2024

sorry I miss understand what you mean, I used buck.

from conceal.

siyengar avatar siyengar commented on August 24, 2024

Are you using buck and building from source, or are you using buck and building from the prebuilt jar?

If you're building from source, then just depending on the :crypto module in this BUCK file will add a dep to the native libs.

If you're building from the prebuilt jar and libs, then you need to add a buck dependency to the prebuilt native libraries as well using http://facebook.github.io/buck/rule/prebuilt_native_library.html. This should cause it to be packaged into the app.

from conceal.

BlaShadow avatar BlaShadow commented on August 24, 2024

I've build from source but I will try to build it using another unix distro I'll let you know.

from conceal.

siyengar avatar siyengar commented on August 24, 2024

Any luck? Anything I can help out with?

from conceal.

siyengar avatar siyengar commented on August 24, 2024

I'm going to close this out. If you have anything new info feel free to reopen.

from conceal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.