Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.2k views
in Technique[技术] by (71.8m points)

react native - cant launch emulator on Android Studio - Unable to locate adb err

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...