Hurry! Try our new Interactive Courses for FREE. 🥳   🚀
Not satisfied by the Answer? Still have doubts?
Ask Question

Error:Unable to locate adb within SDK in Android Studio

what does this error means? When I click the "run" button on my simulator I get this message.

Throwable: Unable to locate adb within SDK

I am running the latest version, 0.8.14.
android-studio android

2 Answers

For any individual who is as yet running into this issue. I had a comparable issue where I could see my gadget from adb on the order line utilizing adb gadgets however Android Studio would not perceive when I had a gadget appended and would toss all things considered:
Unable to locate adb within SDK
Unable to obtain result of 'adb version'

I had attempted beginning/stops of adb, uninstalls, of stage instruments, and the sky is the limit from there. What I found was that inside my C:Users<UserName>AppDataLocalAndroid organizer I had different sdk envelopes. I played out the following:
1. Unistall Platform-Tools using Android Studio's SDK Manager
2. Deleted all platform-tools directories within each C:Users<UserName>AppDataLocalAndroidsdk directory
3. Reinstalled Platform-Tools using Android Studio's SDK Manager
Expect this benefits someone with their problem
If you are using Android Studio and you are facing this issue then the best way to solve this problem will be by checking which platform tool is missing. In order to do this, first, click on 'Tools' present on the top tab bar of android studio. Then, select Android and then select the SDK Manager. Now, click on the Launch Standalone SDK manager. You can clearly see which platform tool is missing. So just install that and then your adb will start working properly.

Login / Signup to Answer the Question.

  • Be descriptive with your answer, and try to avoid copy-pasting external links, instead guide the user who has asked the question, where can they find the detailed answer.
  • You cannot share any URL in answer.
  • To make a text bold, surround the text with single asterisk, for example *bold text*
  • To format a text like code, surround the text within double asterisk, for example **code**
  • To add a multiline piece of code, surround the whole code within triple asterisk, for example *** multiline code ***
  • Please verify before submitting the answer.