Hi all!
I’m getting this error every time I try to launch it (in on e Samsung S6 , or virtual device like nexus 4 API 22/23 or Nexus 5 API 23 x86)
05-31 11:34:05.568 19121-19121/es.in2.otr.app.im E/AndroidRuntime: FATAL EXCEPTION: main
Process: es.in2.otr.app.im, PID: 19121
java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.in2.otr.app.im-1/lib/x86/libsqlcipher_android.so: has text relocations
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:113)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:107)
at es.in2.otr.app.im.app.ImApp.onCreate(ImApp.java:261)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:326)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I’ve been reading some links of problems similars but I can’t make it run.
I’m using Android Studio, and the project is in this state:
app>
/libs
sqlchipher.jar
guava-11.0.2.jar
commons-codec.jar
/src
/main
/assets
icutdt46l.zip
/jniLibs