2014-02-24 13 views
0

나는이 가이드 다음 :Unsatified 링크 오류 : 안드로이드 OpenCV의

http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.html

을하지만 여전히이 오류가 무엇입니까 :

E/AndroidRuntime (916)에서 java.lang.UnsatisfiedLinkError : 수 없음 로더에서 opencv_java248로드 dalvik.system.PathClassLoader [DexPathList [[zip 파일 "/data/app/com.example.smartlab-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.smartlab-2 ,/system/lib]]] : findLibrary returned null

내가 칼 L이 라인 :

System.loadLibrary(Core.NATIVE_LIBRARY_NAME); 

답변

1

당신은 following this tutorial instead?

당신이 라인이없는 연결 한되지 않습니다

System.loadLibrary(Core.NATIVE_LIBRARY_NAME); 

을 그리고는 말한다 :

Note the call to System.loadLibrary(Core.NATIVE_LIBRARY_NAME). This command must be executed exactly once per Java process prior to using any native OpenCV methods. If you don’t call it, you will get UnsatisfiedLink errors. You will also get errors if you try to load OpenCV when it has already been loaded