I installed android studio 1.5 on windows 10.
When I type in command line:
adb
I get command not found.
Where can I get it from or where is it installed?
This question is related to
android-studio
adb
windows-10
Got it to work go to the local.properties file under your build.gradle files to find out the PATH to your SDK, from the SDK location go into the platform-tools folder and look and see if you have adb.exe.
If not go to http://adbshell.com/downloads and download ADB KITS. Copy the zip folder's contents into the platform-tools folder and re-make your project.
I didn't need to update the PATH in the Extended Controls Settings section on the emulator, I left Use detected ADB location settings on. Hope this makes this faster for you !
Since you already have Android Studio installed, and require the environment variable ANDROID_HOME
to be set, the easy way to do this is to add %ANDROID_HOME%\platform-tools
to your path.
You'll find it in the AppData
folder if you choose to install it in the default location. Otherwise, it will be located at the folder where you installed your Android SDK/platform-tools
folder.
If you are not able to find platform-tools folder, please open SDK Manager and install "Android SDK Platform-Tools" from SDK Tools tab.
You can see your Android SDK Location. Open file in file explorer to that location.
\platform-tools\adb.exe
full path on my pc is :
C:\Users\Daniel\AppData\Local\Android\Sdk\platform-tools
Open a cmd
window and type where adb.exe
For me
D:\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools\adb.exe
You can find it here:
%USERPROFILE%\AppData\Local\Android\sdk\platform-tools
To save yourself the hassle in the future, add it to your path:
PATH
.I know the question was in the context of "android studio 1.5", but I found this answer and have Xamarin installed.
In this case, the location is C:\Program Files (x86)\Android\android-sdk\platform-tools
You can look in C:\android\sdk\platform-tools . This was where I found it on my computer.
Mine was in: C:\NVPACK\android-sdk-windows\platform-tools
if you know SDK'path on your system, (by default, it's in /users/appdata/local/Android/...
then, open platform-tools or platform/platform-tools and launch cmd...
it's there you can write adb
If you just want to run adb
command. Open command prompt and run following command:
C:\Users\<user_name>\AppData\Local\Android\sdk\platform-tools\adb devices
NOTE: Make sure to replace <user_name> in above command.
Source: Stackoverflow.com