I have been getting libutils.so not found when testing my application with Motorola C PLus (Android 7 with targetSDKVersion of 26)
My Samsung Galaxy Trend (Android 4.1.2) runs fine with the targetSDK of 26.
How do i fix this. I launched an application to the playstore with targetSDKVersion of 23 and I seemed to be getting crash report from ANDROID 7 DEVICES. Which targetSDKVersion can support all devices?
Play console crash log
My Samsung Galaxy Trend (Android 4.1.2) runs fine with the targetSDK of 26.
How do i fix this. I launched an application to the playstore with targetSDKVersion of 23 and I seemed to be getting crash report from ANDROID 7 DEVICES. Which targetSDKVersion can support all devices?
B4X:
Logger connected to: motorola Moto C Plus
--------- beginning of crash
--------- beginning of system
--------- beginning of main
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 344)
java.lang.UnsatisfiedLinkError: dlopen failed: library "libutils.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:977)
at java.lang.System.loadLibrary(System.java:1530)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:174)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:169)
at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize(SQLCipher.java:51)
at b4a.example.main._activity_create(main.java:344)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at b4a.example.main.afterFirstLayout(main.java:102)
at b4a.example.main.access$000(main.java:17)
at b4a.example.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:836)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1075)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Play console crash log
B4X:
backtrace:
#00 pc 000000000000d416 /system/lib/libutils.so (_ZNK7android12SharedBuffer5resetEj+63)
#01 pc 000000000000d7ef /system/lib/libutils.so
#02 pc 000000000000d7b1 /system/lib/libutils.so (_ZN7android7String8C2EPKc+20)
#03 pc 00000000000103b1 /system/lib/libdrmframework.so
#04 pc 0000000000005fe1 /system/bin/linker (__dl__ZN6soinfo13call_functionEPKcPFvvE+84)
#05 pc 0000000000005f01 /system/bin/linker (__dl__ZN6soinfo10call_arrayEPKcPPFvvEjb+184)
#06 pc 0000000000004beb /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+218)
#07 pc 0000000000004b87 /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+118)
#08 pc 0000000000004b87 /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+118)
#09 pc 0000000000004b87 /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+118)
#10 pc 00000000000049fd /system/bin/linker (__dl__Z9do_dlopenPKciPK17android_dlextinfoPv+404)
#11 pc 0000000000002bf5 /system/bin/linker (__dl__ZL10dlopen_extPKciPK17android_dlextinfoPv+28)
#12 pc 00000000000033cd /system/lib/libnativeloader.so (_ZN7android17OpenNativeLibraryEP7_JNIEnviPKcP8_jobjectP8_jstring+96)
#13 pc 0000000000239d0f /system/lib/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9_+818)
#14 pc 000000000000316f /system/lib/libopenjdkjvm.so (JVM_NativeLoad+178)
#15 pc 00000000005e0565 /system/framework/arm/boot.oat (java.lang.Runtime.nativeLoad+144)
#16 pc 00000000005e01a5 /system/framework/arm/boot.oat (java.lang.Runtime.doLoad+136)
#17 pc 00000000005e1689 /system/framework/arm/boot.oat (java.lang.Runtime.loadLibrary0+540)
#18 pc 00000000005f4a43 /system/framework/arm/boot.oat (java.lang.System.loadLibrary+78)
#19 pc 00000000000a9141 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#20 pc 0000000000402969 /system/lib/libart.so (art_quick_invoke_static_stub+228)
#21 pc 00000000000b03ff /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+178)
#22 pc 00000000001eadc1 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200)
#23 pc 00000000001e5371 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+492)
#24 pc 00000000003fb481 /system/lib/libart.so (MterpInvokeStatic+236)
#25 pc 000000000009c114 /system/lib/libart.so (ExecuteMterpImpl+14612)
#26 pc 00000000001c91bb /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290)
#27 pc 00000000001cdd23 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
#28 pc 00000000001e5357 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+466)
#29 pc 00000000003fb481 /system/lib/libart.so (MterpInvokeStatic+236)
#30 pc 000000000009c114 /system/lib/libart.so (ExecuteMterpImpl+14612)
#31 pc 00000000001c91bb /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290)
#32 pc 00000000001cdc8d /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
#33 pc 00000000003f1d97 /system/lib/libart.so (artQuickToInterpreterBridge+706)
#34 pc 00000000000adb93 /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
#35 pc 00000000000a9141 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#36 pc 0000000000402969 /system/lib/libart.so (art_quick_invoke_static_stub+228)
#37 pc 00000000000b03ff /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+178)
#38 pc 00000000001eadc1 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200)
#39 pc 00000000001e5371 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+492)
#40 pc 00000000003fb481 /system/lib/libart.so (MterpInvokeStatic+236)
#41 pc 000000000009c114 /system/lib/libart.so (ExecuteMterpImpl+14612)
#42 pc 00000000001c91bb /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290)
#43 pc 00000000001cdd23 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
#44 pc 00000000001e6123 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+314)
#45 pc 00000000003fcef7 /system/lib/libart.so (MterpInvokeVirtualQuickRange+318)
#46 pc 000000000009fd94 /system/lib/libart.so (ExecuteMterpImpl+30100)
#47 pc 00000000001c91bb /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290)
#48 pc 00000000001cdc8d /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
#49 pc 00000000003f1d97 /system/lib/libart.so (artQuickToInterpreterBridge+706)
#50 pc 00000000000adb93 /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
#51 pc 00000000000a9141 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#52 pc 0000000000402969 /system/lib/libart.so (art_quick_invoke_static_stub+228)
#53 pc 00000000000b03ff /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+178)
#54 pc 0000000000313889 /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+56)
#55 pc 0000000000314c1b /system/lib/libart.so (_ZN3art12InvokeMethodERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectS4_S4_j+766)
#56 pc 00000000002bc419 /system/lib/libart.so (_ZN3artL13Method_invokeEP7_JNIEnvP8_jobjectS3_S3_+40)
#57 pc 0000000000606311 /system/framework/arm/boot.oat (java.lang.reflect.Method.invoke+116)
#58 pc 00000000000a9141 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#59 pc 0000000000402861 /system/lib/libart.so (art_quick_invoke_stub+232)
#60 pc 00000000000b03d5 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136)
#61 pc 00000000001eadc1 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200)
#62 pc 00000000001e5371 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+492)
#63 pc 00000000003fccdb /system/lib/libart.so (MterpInvokeVirtualQuick+322)