adb is not recognized as an internal or external command, operable program or batch file

asked 2013-10-06 15:32:59 -0500

nachi gravatar image

updated 2013-10-06 15:36:24 -0500

Moster gravatar image

I am trying to install the armv7-a-neon.apk but I am encountering this problem - adb is not recognized as an internal or external command, operable program or batch file

I typed this in my cmd - c:\work\OpenCV4Android\OpenCV-2.4.6-android-sdk\apk> adb install OpenCV_2.4.6_Manager_2.9_armv7a-neon.apk

Please let me know how to resolve this...I am a beginner so a if you can elaborate the answer it'll be great.

edit retag flag offensive close merge delete

Comments

c:\work\OpenCV4Android\OpenCV-2.4.6-android-sdk\platform-tools should be on the PATH env var

berak gravatar imageberak ( 2013-10-06 15:41:15 -0500 )edit

Thanks for the help! I just found out that Program Files (x86)\Android is empty.... and therefore I am not able to access android-sdk\platform-tools...how can I fix this?

nachi gravatar imagenachi ( 2013-10-06 15:53:35 -0500 )edit

Did you even download the android sdk? And if yes, did you download the platform-tools with the android sdk manager?

Moster gravatar imageMoster ( 2013-10-06 15:58:16 -0500 )edit

Yea I did...Found where the platform-tools were located....Users\nachi\AppData\Local\Android\android-sdk\platform-tools....I'll try to install the adb now. Thanks!

nachi gravatar imagenachi ( 2013-10-06 16:06:54 -0500 )edit

The installation was a success but when I try to run the sample example- I am getting the error OpenCVManager service is incompatible with this app. Try to update it via Google Play. I am using android 4.3...

Please Help me out...

nachi gravatar imagenachi ( 2013-10-06 16:15:36 -0500 )edit