标签:over hat users appdata efault targe navigate normal overflow
https://stackoverflow.com/questions/27301960/errorunable-to-locate-adb-within-sdk-in-android-studio
注意在File->project structure中选择sdk等
Finally after several hours of investigation I think I have another solution for everyone having issues with AVD Manager "Unable to locate adb".
I know we have the setting for the SDK in File -> Settings -> Appearance & Behavior -> System Settings -> Android SDK. This it seems is not enough! It appears that Android Studio (at least the new version 4) does not give projects a default SDK, despite the above setting.
So, you also (for each project) need to go to File -> Project Structure -> Project Settings -> Project, and select the Project SDK, which is set to [No SDK] by default.
If there‘s nothing in the drop-down box, then select New, select Android SDK, and navigate to your Android SDK location (normally C:\Users[username]\AppData\Local\Android\Sdk on Windows). You will then be able to select the Android API xx Platform. You now should not get this annoying adb error.
HTH
Error:Unable to locate adb within SDK in Android Studio
标签:over hat users appdata efault targe navigate normal overflow
原文地址:https://www.cnblogs.com/imoon22/p/14224560.html