Hi @developernotes,
We’ve recently migrated to Android Studio and also updated our code to use aar with Android Studio. Removed all the .so files previously used in eclipse. Now when we launch our app, its crashing with below stack trace.
FATAL EXCEPTION: main
Process: com.farmers.ifarmers, PID: 30632
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/com.farmers.ifarmers-1/base.apk”],nativeLibraryDirectories=[/data/app/com.farmers.ifarmers-1/lib/arm, /data/app/com.farmers.ifarmers-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn’t find "libstlport_shared.so"
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:173)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:169)
at com.farmers.marketing.db.database.SQLCipherDBManager.initializeInstance(SQLCipherDBManager.java:52)
at com.farmers.ifarmers.application.NFarmersApplication.onCreate(NFarmersApplication.java:98)
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)
01-13 11:03:00.883 30632-30632/com.farmers.ifarmers E/AndroidRuntime: 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 searched all your responses related to the issue, But couldn’t find any answer.
Thanks in advance,
Kiran