Where is adb.exe in windows 10 located?

Viewed 293885

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?

15 Answers
  • 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

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

enter image description here

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

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'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.

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

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.

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 !

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

Related