Where is adb.exe in windows 10 located?

Android StudioAdbWindows 10

Android Studio Problem Overview


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?

Android Studio Solutions


Solution 1 - Android Studio

It is located in the AppData hidden folder

C:\Users\[user]\AppData\Local\Android\sdk\platform-tools

From l33t's comment below you may use the following shortcut:

%LOCALAPPDATA%\Android\sdk\platform-tools

> To use it in PowerShell you can do: $env:LOCALAPPDATA\Android\sdk\platform-tools

Solution 2 - Android Studio

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:

  1. Click 'Start'.
  2. Type 'Edit environment variables for your account', and click it.
  3. Double click PATH.
  4. Click 'New'.
  5. Paste that path in.
  6. Click 'OK', click 'OK', and restart any command prompts you have open.

Solution 3 - Android Studio

  • Open android studio

enter image description here

  • Press configure or if project opens go to settings enter image description here

  • lookup Android SDK shown in picture enter image description here

  • You can see your Android SDK Location. Open file in file explorer to that location.

  • Add this to end or direct through to this

> \platform-tools\adb.exe

full path on my pc is :

> C:\Users\Daniel\AppData\Local\Android\Sdk\platform-tools

Solution 4 - Android Studio

Steps to add adb.exe to environment variables for global access

  • Run the following on Windows Run (Win + R)

%LOCALAPPDATA%\Android\sdk\platform-tools

  • Copy the path to the folder from the address bar

  • Then, search for Environment Variables on the windows search bar

  • Click on Environment Variables

  • Under System Variables select the Path environment variable & click on Edit

  • If the Path environment variable does not exist, create a new one by clicking on New

  • A new window appears - in the new window, click on New

  • Then paste the path to adb.exe

  • Click OK (thrice!)

You can now access the commands like adb, sqlite3 etc globally from Windows

Solution 5 - Android Studio

If you are not able to find platform-tools folder, please open SDK Manager and install "Android SDK Platform-Tools" from SDK Tools tab.

Solution 6 - Android Studio

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

Solution 7 - Android Studio

enter image description here

I have taken snapshot of adb.exe directory. I hope it helps you best,

Solution 8 - Android Studio

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.

Solution 9 - Android Studio

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

Solution 10 - Android Studio

You can look in C:\android\sdk\platform-tools . This was where I found it on my computer.

Solution 11 - Android Studio

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 in above command.

Solution 12 - Android Studio

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 !

Solution 13 - Android Studio

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.

Solution 14 - Android Studio

Mine was in: C:\NVPACK\android-sdk-windows\platform-tools

Solution 15 - Android Studio

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionyarekView Question on Stackoverflow
Solution 1 - Android StudioNaramsimView Answer on Stackoverflow
Solution 2 - Android StudioBradView Answer on Stackoverflow
Solution 3 - Android StudioDanielView Answer on Stackoverflow
Solution 4 - Android StudioVishnuView Answer on Stackoverflow
Solution 5 - Android StudioFaisal TView Answer on Stackoverflow
Solution 6 - Android StudioLooferView Answer on Stackoverflow
Solution 7 - Android StudioAbdulhakim ZeinuView Answer on Stackoverflow
Solution 8 - Android Studiomlopezv86View Answer on Stackoverflow
Solution 9 - Android StudiopayView Answer on Stackoverflow
Solution 10 - Android StudioAllanView Answer on Stackoverflow
Solution 11 - Android StudioYuvraj PatilView Answer on Stackoverflow
Solution 12 - Android Studiogr7xView Answer on Stackoverflow
Solution 13 - Android StudioAdam SkinnerView Answer on Stackoverflow
Solution 14 - Android StudioUE4DevView Answer on Stackoverflow
Solution 15 - Android StudioVITOULEY marcosView Answer on Stackoverflow