Ask Your Question

Installing OpenCV Manager 3.0.0 on Android (phone + emulator)

asked 2015-08-10 18:30:56 -0500

Bear1575 gravatar image

updated 2015-08-12 17:50:19 -0500


I'm new to open cv and I'm trying to install the open-cv 15 puzzle app on my android emulator, using android studio. I've read online from other sites that the current cv manager isn't available online and that I would have to install it manually as a result.

I'm trying to follow the instructions contained in the README.txt file and here, but I'm running into an "invalid apk file" error when I try to install the apk file, OpenCV_3.0.0_Manager_3.00_armeabi-v7a.apk. I'm using a Nexus 5 API 21 x86 android emulator and trying to execute the adb commands from a windows command prompt. Is my problem, that I'm installing the wrong apk file? I've installed ARM EABI v7a as my system image.

Edit: Since writing this post, there has been an update on the Google Play store for CV Manager 3.0, an update on your phone will be required. For the answer to fixing the emulator problem, read my post below.

edit retag flag offensive close merge delete


Have you tied to run adb install <path-to-manager-x86.apk>?

mshabunin gravatar imagemshabunin ( 2015-08-11 09:39:16 -0500 )edit

@mshabunin, I've done what you've suggested and I keep getting an "invalid apk file" error. My exact command entered was the following: adb.exe install D:\Program Files\OpenCV-android-sdk/apk/OpenCV_3.0.0_Manager_3.00_x86.apk. I've made sure that Intel x86 is installed for this emulator.

Bear1575 gravatar imageBear1575 ( 2015-08-11 16:37:02 -0500 )edit

Try to create new emulator or wipe user data in old one. Make sure you use x86 ABI (not x86_64 or any other): push the "Details..." button in AVD manager and check _CPU/ABI_ field in details window, it should state Intel Atom (x86).

Check your downloaded SDK. I have following MD5 hash: 8ea211c7891233d0908d9b1ef4a3b8f0 OpenCV_3.0.0_Manager_3.00_x86.apk. Whole SDK zip file has MD5 hash: 8b53d8f3ab6efa407eac971cf2e3e114. If it is wrong, try to download the SDK again:

I tested it with x86 Android 5.1.1 (API 22) emulator and it works fine (on linux).

mshabunin gravatar imagemshabunin ( 2015-08-12 04:07:43 -0500 )edit


I've managed to figure it out. I had to copy the apk file to the same folder that the adb.exe was in and then run adb install OpenCV_3.0.0_Manager_3.00_x86.apk. I think the problem might of been the path location to the apk file was too long.

EDIT: My other problem was originally trying to get the puzzle app to work but I think I've managed to figure it out. I didn't realize that there are apk files included in the samples folder. I ended up installing the example-puzzle 15 apk file since I couldn't get it to work by importing the sample module. I'm going to post your original solution as an answer and rep you.

Bear1575 gravatar imageBear1575 ( 2015-08-12 09:52:50 -0500 )edit

Now I see, you should quote paths with spaces: adb install 'D:\Program Files\OpenCV-android-sdk/apk/OpenCV_3.0.0_Manager_3.00_x86.apk' Or even better avoid them ;-)

mshabunin gravatar imagemshabunin ( 2015-08-13 05:16:08 -0500 )edit

Can one of the mods mark this question as solved?

Bear1575 gravatar imageBear1575 ( 2015-08-15 17:34:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-27 11:37:25 -0500

watch this video this might help you

edit flag offensive delete link more

Question Tools



Asked: 2015-08-10 18:30:56 -0500

Seen: 5,606 times

Last updated: Aug 12 '15