1

可能重复:
我在将 OpenCV 添加到新的 Android 项目时遇到了一些问题

我正在编写一个 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?

4

1 回答 1

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

希望能帮到你!

于 2012-12-17T16:39:06.427 回答