has unexpected e_machine: 40 (EM_ARM)


#1

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.agree.shellproject, PID: 13584
java.lang.UnsatisfiedLinkError: dlopen failed: “/data/app/com.agree.shellproject-nkiYZCVKjQDvUfP8Tpeogw==/lib/x86/libstlport_shared.so” has unexpected e_machine: 40 (EM_ARM)
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:142)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:137)
at com.agree.react_native_databasestorage.db.AgreeDBHelper.(AgreeDBHelper.java:21)
at com.agree.react_native_databasestorage.db.SQLUtils.(SQLUtils.java:35)
at com.agree.react_native_databasestorage.db.SQLUtils.getInstance(SQLUtils.java:41)
at com.agree.shellproject.ddpush.DDPushTCPClientService.onCreate(DDPushTCPClientService.java:63)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3339)
at android.app.ActivityThread.-wrap4(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1677)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)


#2

Hi @jonydan888

It appears that you are using an older version of SQLCipher for Android from the stack trace. Can you try updating to the latest version (instructions can be found here) and let us know if you still experience the issue? If the issue is still present on the latest version, would you try running the SQLCipher for Android test suite and let us those results along with the Android device and version information. Thanks!