I have someone with an Android 8, arm64-v8a device testing a new Android
app which uses the precompiled Sqlite binaries for Android. It appears
there is some issue in loading the library. In the Android app log I see:
08-29 15:27:49.006 F/DEBUG (9478): #07 pc 0000000000334204
/system/lib64/libart.so
(_ZN3art3JNI10GetFieldIDEP7_JNIEnvP7_jclassPKcS6_+1380)
08-29 15:27:49.006 F/DEBUG (9478): #08 pc 0000000000014f6c
/data/app/com.whitedavidp.cookiemanagerforsystemwebview-Cxs-JPhN3ibGfH785l-NDQ==/lib/arm64/libsqliteX.so
(_ZN7android42register_android_database_SQLiteConnectionEP7_JNIEnv+100)
08-29 15:27:49.006 F/DEBUG (9478): #09 pc 00000000000150e0
/data/app/com.whitedavidp.cookiemanagerforsystemwebview-Cxs-JPhN3ibGfH785l-NDQ==/lib/arm64/libsqliteX.so
(JNI_OnLoad+68)
08-29 15:27:49.006 F/DEBUG (9478): #10 pc 00000000002d83d4
/system/lib64/libart.so
(_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9_+2204)
08-29 15:27:49.006 F/DEBUG (9478): #11 pc 00000000000041d4
/system/lib64/libopenjdkjvm.so (JVM_NativeLoad+276)
and
08-29 15:27:48.713 F/DEBUG (9478): pid: 9310, tid: 9473, name:
AsyncTask #1 >>> com.whitedavidp.cookiemanagerforsystemwebview <<<
08-29 15:27:48.713 F/DEBUG (9478): signal 6 (SIGABRT), code -6
(SI_TKILL), fault addr --------
08-29 15:27:48.713 F/DEBUG (9478): Abort message: 'java_vm_ext.cc:504]
JNI DETECTED ERROR IN APPLICATION: java_class == null'
I know that my app included the appropriate pre-compiled .so file dated
10/25/17. But it seems like some needed class is missing? Could it be
android_database_SQLiteConnection?
I have since updated my app to use the pre-compiled binaries that are
available now. But have not yet heard if that makes any difference. So
really wondering:
(a) What is going on?
(b) How to interpret what I am seeing in the logs above?
(c) How to avoid this?
Thanks!
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users