IllegalArgumentException: Unable to locate adb in Android Studio v2.3

NeedHelp_AndroidGoogleMap picture NeedHelp_AndroidGoogleMap · Mar 14, 2017 · Viewed 32.2k times · Source

Does anyone know how to fix this?

IllegalArgumentException: Unable to locate adb

enter image description here

I installed android studio v2.3 and it won't let me run my app saying the error. I searched online and said to click the Launch Standalone Sdk manager but I am unable to locate it.

enter image description here

Answer

Leon K. Görges picture Leon K. Görges · Mar 14, 2017

I also encountered this problem, when I tried to move an Android project from one computer to another. Since I have Android Studio 2.3 I don't have the option to run the standalone SDK-manager (or at least, I don't see any button).

On this website
http://m.blog.csdn.net/article/details?id=51204114
I found the solution to resolve the problem.

Go to Tools >> Android >> SDK-Manager >> SDK-Tools
Uncheck "Android SDK Platform-Tools" and press Apply to uninstall it again.
Uninstall Android SDK Platform-Tools Then check it again to re-install it. Then I was able to compile my project again.