无法从加载程序加载Hello-jni

时间:2016-11-08 03:14:46

标签: android java-native-interface

我在加载库

时出现'jni文件'的问题
java.lang.UnsatisfiedLinkError: Couldn't load Hello-jni from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.test.myApplication-1.apk", zip file "/data/data/com.test.myApplication/code_cache/secondary-dexes/com.test.myApplication.apk.classes2.zip"],nativeLibraryDirectories=[/data/app-lib/com.test.Myapplication, /system/lib]]]: findLibrary returned null
                                                                     at java.lang.Runtime.loadLibrary(Runtime.java:358)
                                                                     at java.lang.System.loadLibrary(System.java:526)
                                                                     at com.test.myApplication.other.JNI.<clinit>(JNI.java:9)
                                                                     at com.test.myApplication.util.PrefUtils.write(PrefUtils.java:33)
                                                                     at com.test.myApplication.presentation.intro.SplashActivityV2.saveDeviceInfo(SplashActivityV2.java:121)

希望任何人都可以提供帮助。感谢

0 个答案:

没有答案