Chundricles / ipcamera-for-android

Automatically exported from code.google.com/p/ipcamera-for-android
0 stars 0 forks source link

JNI failure on CTS test version r1.95 #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am running CTS test using latest CTS version r1.95 but met below jni failure.

The case can pass on CTS version r1 but fail on r1.95. Error logs are shown 
below. Please give some hint about the failure. Thank you!

06-03 17:21:25 I/123456789ABCDEF: android.jni.cts.JniStaticTest#test_nop FAIL 
java.lang.UnsatisfiedLinkError: Couldn't load jnitest from loader 
dalvik.system.PathClassLoader[DexPathList[[zip file 
"/system/framework/android.test.runner.jar", zip file 
"/data/app/com.android.cts.jni-1.apk", zip file 
"/data/app/com.android.cts.jni-1.apk"],nativeLibraryDirectories=[/data/app-lib/c
om.android.cts.jni-1, /data/app-lib/com.android.cts.jni-1, /vendor/lib, 
/system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:358)
at java.lang.System.loadLibrary(System.java:526)
at android.jni.cts.StaticNonce.<clinit>(StaticNonce.java:26)
at android.jni.cts.JniStaticTest.test_nop(JniStaticTest.java:31)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.jni.cts.JniTestCase.runTest(JniTestCase.java:33)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at 
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:55
4)
at 
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)

Original issue reported on code.google.com by IreneJ...@gmail.com on 9 Jun 2014 at 9:31