Ask Your Question
1

Problem installing the right Manager.apk and Binary_pack.apk for OpenCV4Android

asked 2012-11-11 06:48:59 -0600

Karl gravatar image

Hello, I am very new to OpenCV-Android. I have problems installing OpenCV4Android-SDK. The instruction on http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html says "Install the Manager.apk and the corresponding binary_pack.apk depending on the device CPU..." I don't know the kind of APK to install. I also don't know what does ArmV7A, X86, Armeabi-Armv7A, MIPS mean. Can you help me install the right apk? Here is the screenshot to my available APK located in C:\Work\OpenCV4Android\OpenCV-2.4.3-android-sdk\apk image description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2012-11-11 10:50:30 -0600

Simone gravatar image

Hi,

from the windows shell or a linux terminal you can run this command with your device attached to your PC

adb shell getprop ro.product.cpu.abi

this will return the type of cpu your device has, and then you can load the correct version of the manager and of the library

S.

edit flag offensive delete link more

Comments

Hello @Simone! I'm using an android emulator on Windows. Specifically, what will be the path to execute those commands?

Karl gravatar imageKarl ( 2012-11-11 11:06:27 -0600 )edit

If you are using eclipse then you can go to Window > AVD Manager and then you see the list of emulators you have created. Select the one you want to use and click Edit. On the third box of the windows that pops up you can see the CPU of the Emulator. check this http://developer.android.com/tools/devices/managing-avds.html

Otherwise you have for sure installed the Android SDK (http://developer.android.com/sdk/installing/index.html), go to that directory from the windows prompt, go to tools directory and run the above command

Simone gravatar imageSimone ( 2012-11-11 12:14:09 -0600 )edit

Thank you @Simone. I'll try your answer and come back if I have any problems. Do you have any links for OpenCV4Android installation guide except this http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html ?

Karl gravatar imageKarl ( 2012-11-12 03:40:23 -0600 )edit

Question Tools

Stats

Asked: 2012-11-11 06:48:59 -0600

Seen: 526 times

Last updated: Nov 11 '12