-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LIBRARY_PATH is error #2
Comments
I agree lib is the right place - but that's only OK if you can persuade Android to extract the library there automatically on installation. I'm not sure how you do this - for me it was working sometimes but not always. So I put the lib in app, and have code there to programmatically extract it when it is first loaded. You can't do this in lib because the lib directory is owned by root and not by the app, and you can't put things in there programmatically. If you can figure out why it's not always being extracted to lib automatically, then great. Thanks |
If you place the lib in APP_ROOT/lib/armeabi/libjninode.so, then the library will automatically be be placed in the correct library location of your app. Then you can use |
Hmm, fancy doing a PR for it? :) |
Yep, I'll look into it later today. |
thanks |
LIBRARY_PATH should be
private static String LIBRARY_PATH = "/data/data/" + PACKAGE_NAME + "/lib";
It is not in app folder on my i9100.
The text was updated successfully, but these errors were encountered: