Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 802
NeedHelp_AndroidGoogleMap Avatar asked Mar 14 '17 05:03

NeedHelp_AndroidGoogleMap


1 Answers

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.

like image 79
Leon K. Görges Avatar answered Oct 10 '22 07:10

Leon K. Görges