找不到OpenCV库 - 2.4.3.apk! OpenCV Android

时间:2012-12-17 16:22:54

标签: android opencv

  

可能重复:
  I’m having some trouble adding OpenCV to a new Android project

我正在编写Android程序,遇到错误。启动后,应用程序找不到.apk文件。

控制台显示:

[2012-12-17 17:03:10 - ProbandoAlgoritmos] ------------------------------
[2012-12-17 17:03:10 - ProbandoAlgoritmos] Android Launch!
[2012-12-17 17:03:10 - ProbandoAlgoritmos] adb is running normally.
[2012-12-17 17:03:10 - ProbandoAlgoritmos] Performing org.opencv.prueba.algoritmos.InitialActivity activity launch
[2012-12-17 17:03:10 - ProbandoAlgoritmos] Automatic Target Mode: using device '0019054d294eae'
[2012-12-17 17:03:10 - ProbandoAlgoritmos] Uploading ProbandoAlgoritmos.apk onto device '0019054d294eae'
[2012-12-17 17:03:10 - ProbandoAlgoritmos] Installing ProbandoAlgoritmos.apk...
[2012-12-17 17:03:12 - ProbandoAlgoritmos] Success!
[2012-12-17 17:03:12 - OpenCV Library - 2.4.3] Could not find OpenCV Library - 2.4.3.apk!
[2012-12-17 17:03:12 - ProbandoAlgoritmos] Starting activity org.opencv.prueba.algoritmos.InitialActivity on device 0019054d294eae
[2012-12-17 17:03:12 - ProbandoAlgoritmos] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[ xxx ] cmp=xxxx }

显然,应用程序崩溃了。

没有编译器错误,因此导入了opencv库,并在设备上安装了Open CV Manager。

为什么没找到APK?

1 个答案:

答案 0 :(得分:0)

如果使用Opencv4android2.4.3,你应该安装“OpenCV_2.4.3_Manager_2.0_armeabi-v7a.apk”和“OpenCV_2.4.3_binary_pack_armv7a.apk”或者你可以看到

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

希望可以帮到你!