-
Notifications
You must be signed in to change notification settings - Fork 568
No implementation found for native Lnet/sqlcipher/database/SQLiteDatabase;.dbopen (Ljava/lang/String;I)V #58
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 pstegegn, Could you verify that all of the native libraries were deployed? If you could run your application on an emulator and then issue the following in a terminal, please share the results: adb shell
cd /data/data/[YourPackageName] #possibly com.viber.voip
ls lib |
Hi Parker, ls lib |
Hi pstegegn, The |
Hi pstegegn, I received a message from you, but it isn't displaying here. You closed the issue and then reopened it. You mentioned some customizations to the sqlcipher.jar. Would it be possible for you to drop in the new 2.0.5 binaries to verify whether or not you see the same issue? Thanks! |
Can you post how you solved this problem... Regards, |
Hi Pavani, You can find a detailed article covering the setup of a project that uses SQLCipher for Android here. The issue above was a missing |
hi, java.lang.UnsatisfiedLinkError: Native method not found: net.sqlcipher.database.SQLiteDatabase.dbopen:(Ljava/lang/String;I)V This happens only by chance and not very often. Still it is annoying. Do you know what is causing the problem? Seems more like a platform thing. |
Hi HansSchlegel, The |
hello developernotes, |
Hi HansSchlegel, The only other reason this might be occurring is if the client code is not calling |
It happened only because of the version of sqlcipher I was using which
|
i m having the same problem, i can only see three .so files in data/data/com.technoguff.sciencequiz/libs |
Hi @pstegegn, Can you attempt to run the SQLCipher for Android test suite - do those run properly for you? If so, can you compare your project configuration with that, looking for any differences? |
I forgot to call Once I added it, the code seemed to work fine for me. |
06-26 11:38:53.559: W/dalvikvm(22382): No implementation found for native Lnet/sqlcipher/database/SQLiteDatabase;.dbopen (Ljava/lang/String;I)V
06-26 11:38:53.559: D/AndroidRuntime(22382): Shutting down VM
06-26 11:38:53.559: W/dalvikvm(22382): threadid=1: thread exiting with uncaught exception (group=0x40018560)
06-26 11:38:53.569: E/AndroidRuntime(22382): FATAL EXCEPTION: main
06-26 11:38:53.569: E/AndroidRuntime(22382): java.lang.UnsatisfiedLinkError: dbopen
06-26 11:38:53.569: E/AndroidRuntime(22382): at net.sqlcipher.database.SQLiteDatabase.dbopen(Native Method)
06-26 11:38:53.569: E/AndroidRuntime(22382): at net.sqlcipher.database.SQLiteDatabase.(SQLiteDatabase.java:2030)
06-26 11:38:53.569: E/AndroidRuntime(22382): at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:931)
06-26 11:38:53.569: E/AndroidRuntime(22382): at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1010)
06-26 11:38:53.569: E/AndroidRuntime(22382): at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:236)
06-26 11:38:53.569: E/AndroidRuntime(22382): at com.viber.voip.contacts.ViberContactsProvider.onCreate(ViberContactsProvider.java:53)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.app.ActivityThread.installProvider(ActivityThread.java:3706)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3461)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3417)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:977)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.os.Handler.dispatchMessage(Handler.java:99)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.os.Looper.loop(Looper.java:130)
06-26 11:38:53.569: E/AndroidRuntime(22382): at android.app.ActivityThread.main(ActivityThread.java:3835)
06-26 11:38:53.569: E/AndroidRuntime(22382): at java.lang.reflect.Method.invokeNative(Native Method)
06-26 11:38:53.569: E/AndroidRuntime(22382): at java.lang.reflect.Method.invoke(Method.java:507)
06-26 11:38:53.569: E/AndroidRuntime(22382): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
06-26 11:38:53.569: E/AndroidRuntime(22382): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
06-26 11:38:53.569: E/AndroidRuntime(22382): at dalvik.system.NativeStart.main(Native Method)
06-26 11:38:53.589: W/ActivityManager(224): Force finishing activity com.viber.voip/.Encrypt
06-26 11:38:54.089: W/ActivityManager(224): Activity pause timeout for HistoryRecord{4057b378 com.viber.voip/.Encrypt}
The text was updated successfully, but these errors were encountered: