Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k 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 OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...