-
Notifications
You must be signed in to change notification settings - Fork 567
Couldn't load stlport_shared #27
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
Comments
Hi Swarnamahesh, You will need to copy the libstlport_shared.so file from the libs/armeabi folder into your application's libs/armeabi folder. Can you check for that and move the file if it's not present? Nick Parker |
Also, please provide us information on your OS and device type. |
Yes I did add the libstlport_shared.so file in the lib/armeabi folder. |
it is "libs/armeabi" not "lib". Plural, with an S. :) |
yes, my oversight. It works perfectly now. Thanks for the help. |
Just an afterthought, I am able to use this only if the db is in external memory, can I create/open db from internal memory and still keep it encrypted? |
i copy libstlport_shared.so file into my application lib/armeabi folder but still give error message like Couldn't load stlport_shared.so file. |
Hi harshal111, The |
If your app is to be installed as a system app, the .so files need to be copied into /system/lib/ folder. Otherwise, it will give you this error. |
Hi All Even i am getting same error in android 4.1 version mobile, but libstlport_shared.so file is exists in libs/armeabi folder. it is working in samsung android 2.3.3 version mobile but not working in macromax android 4.1 version mobile. what can i do to make working in all the latest versions of android. error log is here: java.lang.UnsatisfiedLinkError: Couldn't load stlport_shared: findLibrary returned null |
Hi sulochanansk, Is your application being installed as a system application, versus being installed within the /data partition? Also, please verify with apktool that you are in fact bundling stlport_shared.so. |
it is installed as a system application. i have checked with apktool . here is the list of all so files of .apk file. lib/armeabi/libdatabase_sqlcipher.so only stlport_shared.so lib is not loading while creating database. is there any other proceess ti load .so files in case of new Android versions. |
Hi sulochanansk, Could you try the recommendation here? |
sorry i did not get recommendation ????? what you want me to try? |
Hi sulochanansk, Could you try copying |
Hi developernotes, I could not got /system/lib where can i get it? I have already posted my project details on Please see this. I need help. |
Hello @rammansawala, I have replied to your discuss post, please review and provide any further feedback within the discuss post. Thanks! |
Thank you for providing an open source project for protecting the database, as security is a very important feature in my app. I added the jars and so files as mentioned in the installation guide and made the code changes, but I am getting the following error in loadlibs. Can you please help me with this issue.
11-17 12:18:41.827: ERROR/AndroidRuntime(31107): java.lang.UnsatisfiedLinkError: Couldn't load stlport_shared: findLibrary returned null
11-17 12:18:41.827: ERROR/AndroidRuntime(31107): at java.lang.Runtime.loadLibrary(Runtime.java:429)
11-17 12:18:41.827: ERROR/AndroidRuntime(31107): at java.lang.System.loadLibrary(System.java:554)
11-17 12:18:41.827: ERROR/AndroidRuntime(31107): at info.guardianproject.database.sqlcipher.SQLiteDatabase.loadLibs(SQLiteDatabase.java:104)
Why is it not able to load stlport_shared, should i do any specific compilation for the so files?
The text was updated successfully, but these errors were encountered: