Djinni - Android Crash - UnsatisfiedLinkError

时间:2016-06-26 18:16:41

标签: android djinni

非常困在这里我的项目工作正常,因为某些原因每次我发动我都会崩溃。任何有关这方面的帮助将不胜感激。

Process: com.amr, PID: 4185
                                                       java.lang.UnsatisfiedLinkError: Couldn't load amr_android from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.amr-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.amr-1, /system/lib]]]: findLibrary returned null
                                                           at java.lang.Runtime.loadLibrary(Runtime.java:358)
                                                           at java.lang.System.loadLibrary(System.java:526)
                                                           at com.amr.RandomRumbers.<clinit>(RandomRumbers.java:25)
                                                           at java.lang.Class.newInstanceImpl(Native Method)
                                                           at java.lang.Class.newInstance(Class.java:1208)
                                                           at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
                                                           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2112)
                                                           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
                                                           at android.app.ActivityThread.access$800(ActivityThread.java:135)
                                                           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
                                                           at android.os.Handler.dispatchMessage(Handler.java:102)
                                                           at android.os.Looper.loop(Looper.java:136)
                                                           at android.app.ActivityThread.main(ActivityThread.java:5017)
                                                           at java.lang.reflect.Method.invokeNative(Native Method)
                                                           at java.lang.reflect.Method.invoke(Method.java:515)
                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
                                                           at dalvik.system.NativeStart.main(Native Method)

1 个答案:

答案 0 :(得分:0)

这是因为在apk中没有针对目标设备的特定处理器类型的本机库。你应该检查你有哪一个,并为apk提供为该类型编译的本机库。