Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adb.exe not found after installing Android Studio

Tags:

android

adb

I installed Android Studio 1.2.1.1 and also created virtual device. I am trying to install one app (APK file) through command line but I could not find adb.exe file on my machine. Please help where should I look for adb.exe file on the machine.

like image 497
KKG Avatar asked Jun 12 '15 21:06

KKG


People also ask

Where is adb exe in Android Studio?

The executable of ADB, adb.exe, can be found under Android SDK's child folder, platform-tools/. For example, in my case, it is under C:UsersChunyenAppDataLocalAndroidsdkplatform-tools. I recommend you add your folder path to the evironment variable.

How do I fix Android SDK file not found adb?

Reinstalling the platform tools might fix this problem. Open Android Studio, click SDK Manager in the toolbar or click Tools > SDK Manager, click SDK Tools, then uncheck Android-SDK Platform-Tools (as shown above). After this, open C:\Users\Username\AppData\Local\Android\Sdk and delete the platform-tools folder.

How do I fix the adb command not found?

If the ADB command is not found, most likely you need to install the Android SDK Platform-Tools package to make it available in the command prompt. Also, the phone should be in USB debugging mode.


2 Answers

The adb.exe file will be located at your Android SDK folder, inside platform-tools

...\android-sdk-path\platform-tools\adb.exe

The default location where Android SDK is installed is:

C:\Users\<insert username here>\AppData\Local\Android\sdk\

So adb will be located at:

C:\Users\<insert username here>\AppData\Local\Android\sdk\platform-tools\adb.exe

To access it on a command line, open cmd.exe and type:

cd C:\Users\<insert username here>\AppData\Local\Android\sdk\platform-tools\

and then your normal command

adb <insert parameters here>
like image 199
ᴘᴀɴᴀʏɪᴏᴛɪs Avatar answered Oct 22 '22 10:10

ᴘᴀɴᴀʏɪᴏᴛɪs


May be adb.exe file is missing form your computer. Try deleting platform-tools folder and re-download it from SDKManager.

like image 3
Sailesh Limbu Avatar answered Oct 22 '22 11:10

Sailesh Limbu