ERROR'S: The library 'couchbase-lite-android-source-1.0.3.1.jar' contains native libraries

297 views
Skip to first unread message

prasanna kumar

unread,
Oct 29, 2014, 8:29:57 AM10/29/14
to mobile-c...@googlegroups.com
Hi All,

I have been working with couch base lite android,

It is great hear Couchbase Lite 1.0.3 released.

I downloaded new jar from here. and as per the guidelines here i have imported the jar files into my project libs folder.
When an application will run, I am getting error's like

2014-10-29 17:22:00 - DemoApp] The library 'couchbase-lite-android-source-1.0.3.1.jar' contains native libraries that will not run on the device.
[2014-10-29 17:22:00 - DemoApp] The following libraries were found:
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/mips/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/mips/libcom_couchbase_touchdb_RevCollator.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi-v7a/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi-v7a/libcom_couchbase_touchdb_RevCollator.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/x86/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/x86/libcom_couchbase_touchdb_RevCollator.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi/libcom_couchbase_touchdb_RevCollator.so


How to solve this errors or any suggestion?

Thanks

Zack Gramana

unread,
Oct 29, 2014, 11:06:05 AM10/29/14
to <mobile-couchbase@googlegroups.com>
Which CPU architecture is your device running where you get this error?
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/e08bc763-e67e-4d9d-987e-8703cb53fa59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

prasanna kumar

unread,
Oct 30, 2014, 2:42:42 AM10/30/14
to mobile-c...@googlegroups.com
Hi Zachary Gramana ,

Thank you so much for the speedy reply.

Here, I have attached about my system configuration

>I am using Eclipse and about android
android:maxSdkVersion="21"
android:minSdkVersion="11"

>For testing application i am using the

Nexus 7 - Google


After adding all CBL Jar file,if i run the application in the process of compilation itself my application show error's


2014-10-29 17:22:00 - DemoApp] The library 'couchbase-lite-android-source-1.0.3.1.jar' contains native libraries that will not run on the device.
[2014-10-29 17:22:00 - DemoApp] The following libraries were found:
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/mips/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/mips/libcom_couchbase_touchdb_RevCollator.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi-v7a/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi-v7a/libcom_couchbase_touchdb_RevCollator.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/x86/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/x86/libcom_couchbase_touchdb_RevCollator.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi/libcom_couchbase_touchdb_TDCollateJSON.so
[2014-10-29 17:22:00 - DemoApp]  - libraries/couchbase-lite-android/jniLibs/armeabi/libcom_couchbase_touchdb_RevCollator.so

How to solve this errors or any suggestion?

Thank's

about_cup.png

Traun Leyden

unread,
Oct 30, 2014, 2:36:18 PM10/30/14
to mobile-c...@googlegroups.com
You shouldn't be including the source jar.

Maybe our instructions need updating, can you point me to the exact instructions you are using?

Sandeep Khode

unread,
Nov 30, 2014, 8:04:41 AM11/30/14
to mobile-c...@googlegroups.com

Traun Leyden

unread,
Dec 1, 2014, 4:22:31 PM12/1/14
to mobile-c...@googlegroups.com

I have updated the docs, but they won't take effect on the live docs site immediately.

Step 5 has been changed to:

Copy all the remaining JAR files from the /couchbase-lite-{version} folder into the project libs folder, except for the couchbase-lite-android-source-{version}.jar.



Reply all
Reply to author
Forward
0 new messages