0

I installed Android Studio version 4 but whenever I try to run the emulator I get the error "can't locate adb". So far I made sure it's not blocked by my anti-virus I replaced the adb.exe with the new one from SDK tools

But still, I can't get past that error. Any leads or clues on what could be wrong?

Bakersen
  • 41
  • 4
  • is ABD added to the path? – Anirudh Bagri Aug 11 '20 at 08:48
  • How do I do that? – Bakersen Aug 11 '20 at 10:49
  • You have messed something with your installation. On Windows, if you download full package from https://developer.android.com/studio#downloads and install it, adb should be installed and automatically added to path. Otherwise, you can try to download command line tools only and install them. – user1209216 Aug 11 '20 at 11:26

2 Answers2

0

If you are using mac, check this answer to help you find how to add adb to PATH. Set up adb on Mac OS X

Or you could check out this article.

Anirudh Bagri
  • 2,346
  • 1
  • 21
  • 33
0

This might be because no sdk is selected in project. Go to file->project structure->project sdk Now select an installed sdk from the list. It should solve the problem.