I am trying to run google map v2 on emulator, I am following this tutorial. When I was trying to install required apk file on emulator, I am getting below error.
I tried to solve this using this tutorial.Followed all steps, added the path to paltform-tools to environment path. Also after modifying the PATH variable started a new CommandPrompt window.
But getting the same error. I need to check my google map application on emulator. Kindly suggest me.
'adb' is not recognized as an internal or external command,
operable program or batch file.
This is where I found it:
I had to put the complete path into the file explorer. I couldn't just click down to it because the directories are hidden.
I found this path listed in Android studio:
Tools > Android > SDK Manager > SDK Tools
In my case it was:
The New Android Studio 1.3 has its ADB location at:
Now add this location to the end of PATH of environment variables. Eg:
You could just drag the
adb.exe
on to the command prompt fromsdk/platformtools
and leave a space and type the command you want:like logcat
.It looks like this for me:
and hit enter.
First select drive that is where Android sdk folder is there. Then you Follow the below steps
cd DriveName:/ or Ex : cd c:/ Press 'Enter'
then you will give the path that is adb console path is there in a platform-tools folder so cd Root Folder/inner root folder if there/Platform-tools Press 'Enter' then it selects the adb directory.
I did this on Windows 7, by going to:
Start > Control Panel > System > Advanced System Settings > Environment Variables...
In this Environment Variables window, in the User variables for (your-username) highlight
Path
and click Edit...You then need to append a
;
if there isn't already one at the end of the Variable value field, and then appendC:\Users\<your-username>\AppData\Local\Android\sdk\platform-tools;
to that same field.Then click the three OK buttons to get out.
If you already have a Command Prompt window open, close it then re-open and the
adb devices
command should then work.