This question already has answers here:
Closed 2 years ago.
I am not able to run my project using android studio after an update from 2.2 to 2.3. I always getting an error like "unable to locate adb" while i try to run my project.
Shoot me a proper solution to fix this. I tried many ways but i couldn't solve this.
I was using Avast and found out that the adb.exe was in the virus chest and i simply restored it as an exclusion, now it worked perfectly. Don't keep the Android Studio outdated, Thanks Avast Virus Chest
Couple of updates to this working solution
1) Virus Chest Image
2) Restore adb from the virus chest & also add android-studio folder under exclusions to avoid the issue in future
Also had this error. It turns out my anti-virus had quarantined the adb. So i simply went to the virus chest and added adb to the list of antivirus exclusions. It worked perfectly after that.
Adb.exe is missing in the studio path. I just added the adb.exe file into the path and it solved my issue. I dont know whether it will work on all situations. But it has worked for me.
Thanks for all your directives
I was also facing same problem, but I resolved it I am using android studio 2.3 open command prompt and set the path to platform tools i.e. "C:\Users\AppData\Local\Android\sdk\platform-tools"
then write adb.exe as shown
C:\Users\sandeep\AppData\Local\Android\sdk\platform-tools>adb.exe
then restart your studio It will working fine
I have been into the same problem a few hours ago, but this is how i have been able to resolve it.
Download ADB from this Link: http://adbshell.com/downloads
Choose out this option:
ADB Kits (525 KB)(adb.exe AdbWinApi.dll AdbWinUsbApi.dll)
Extract all the 3 files you have downloaded from the extract.
Then paste the 3files in your SDK=>platform-tools folder.
I that exactly worked for me.
All the best.
(I am using Android Studio 3.0.1)
- I downloaded "SDK Platform-Tools" from
https://developer.android.com/studio/releases/platform-tools
- Copied 'adb.exe' to C:\Users\user\AppData\Local\Android\Sdk\platform-tools.
Then I got no errors when running the app.
I also added C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe to the exception list of my anti-virus tool
Goto inside the Tools:
Tools --> Android --> SDK Manager --> Launch Standalone Sdk manager
Thre you can see which platform tools are missing. Just install that and your adb will works.
I was also facing same problem, but I resolved it I am using android studio 2.3
open command prompt and set the path to platform tools i.e.
"C:\Users\\AppData\Local\Android\sdk\platform-tools"
then write adb.exe as shown
C:\Users\sandeep\AppData\Local\Android\sdk\platform-tools>adb.exe
then restart your studio It will working fine.
open Studio settings-->System settings --> Android SDK --> select SDK tool tab -->> select "Android SDK platform tool" and install