【发布时间】:2016-04-28 06:05:40
【问题描述】:
当我在 android Studio 中集成 Open cv 以进行眼睛检测时。集成消息后打印 Opencv 安装成功消息生成但在他们给出错误之后。
无法从加载器加载 detection_based_tracker dalvik.system.PathClassLoader[DexPathList[[zip 文件“/data/app/com.example.admin.lanskart-2.apk”],nativeLibraryDirectories=[/data/app-lib/com.example.admin.lanskart-2,/vendor/lib,/system/lib ]]]:查找库 返回null
Process: com.example.admin.lanskart, PID: 24341
java.lang.UnsatisfiedLinkError: Couldn't load detection_based_tracker from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.admin.lanskart-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.admin.lanskart-2, /vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:553)
at com.example.admin.lanskart.MainActivity$1.onManagerConnected(MainActivity.java:69)
at org.opencv.android.AsyncServiceHelper$3.onServiceConnected(AsyncServiceHelper.java:319)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1140)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1157)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5299)
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:825)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
at dalvik.system.NativeStart.main(Native Method)
【问题讨论】:
-
我认为您没有提供足够的详细信息来获得答案。你尝试了什么?您是否检查了缺少库的路径?等等。想象一下,你在我们这里,必须解决这个问题......