0

Can't run any android app because it is unable to locate adb. When I click on "launch this AVD in the emulator", I get an error message "Unable to locate adb". I did look in the Android/Sdk/platform-tools, I have an "adb" executable. I tried to uninstall the folder and reinstall it - didn't help. I use Android Studio 4.1.1 on Windows.

Thanks in advance.

1 Answers1

0

I suppose your error happened several reasons.

  • First, didn't find adb.exe in system path.
  • Second, the antivirus remove or blocked your adb.exe.
  • Third, adb.exe is damaged.
  • Fourth, some other reason.

Open Studio settings-->System settings --> Android SDK --> select SDK tool tab -->> select "Android SDK platform tool" and install.

You can refer this url. "unable to locate adb" using Android Studio

Daniel.Wang
  • 2,242
  • 2
  • 9
  • 27
  • Already did that and I still got the same error. If it helps, when I run on cmd "adb devices" when my phone attached with USB, the computer recognize my device – David Sachakov Jan 12 '21 at 16:55
  • if you want to check adb, you can run command prompt and enter 'adb' in command. – Daniel.Wang Jan 12 '21 at 16:59