I am getting below errors and app just hangs at launch when trying to load
sqlcipher library. I am running on Samsung Nexus S (Android 4.1.2) device
which is 32 bit device.
Trying to load lib
/data/data/com.welldoc.platform.android/lib/libstlport_shared.so 0x420a3b78
Added shared lib
/data/data/com.welldoc.platform.android/lib/libstlport_shared.so 0x420a3b78
No JNI_OnLoad found in
/data/data/com.welldoc.platform.android/lib/libstlport_shared.so
0x420a3b78, skipping init
Trying to load lib
/data/data/com.welldoc.platform.android/lib/libsqlcipher_android.so
0x420a3b78
Added shared lib
/data/data/com.welldoc.platform.android/lib/libsqlcipher_android.so
0x420a3b78
No JNI_OnLoad found in
/data/data/com.welldoc.platform.android/lib/libsqlcipher_android.so
0x420a3b78, skipping init
Trying to load lib
/data/data/com.welldoc.platform.android/lib/libdatabase_sqlcipher.so
0x420a3b78
Added shared lib
/data/data/com.welldoc.platform.android/lib/libdatabase_sqlcipher.so
0x420a3b78
JNI_OnLoad called
JNI_OnLoad register methods
I have tried 2 approaches.
1. have app\src\main\jniLibs folder where my armeabi, armeabi-v7a and x86
olders are present with respective .so files and my assets folder
has icudt46l.zip
2. I have archived the armeabi folder to zip named:armeabi.zip with the
folder in zip like: lib/armeabi/xxx.so
Renamed armeabi.zip to armeabi.jar and put armeabi.jar into libs folder
with the other jars.
I am getting same error as I mentioned above with both the above approaches
which I tried. Any help would be highly appreciated.
NOTE: when I unzip my .apk file, I can see lib folder with
armeabi, armeabi-v7a and x86 sub-folders and .so files inside all of those.
On Tuesday, 9 June 2015 18:44:16 UTC+5:30, Xavier Hallade wrote:
>
> Did you put your libs inside jniLibs/(armeabi,x86,...) ? What are the
> target architecture of your libs and the architecture of your AVD ?
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.