Error: Please provide a path to the Android SDK
Try this - C:\Users\Your Name\AppData\Local\Android\Sdk
Replace Your Name
with the name of your PC.
I encountered this problem when installing Android Studio 3.0.
There was in fact no folder named C:\Users\Your Name\AppData\Local\Android\Sdk
after I installed Android Studio. I tried installing the Android command line tools at this location, but android studio did not accept this. (Turns out, the command line tools are not the SDK.)
Managed to fix it by doing a complete uninstall of Android Studio, deleting the C:\Users\Your Name\AppData\Local\Android
folder, deleting any Android Studio settings folders (in my case C:\Users\Your Name\.AndroidStudio2.3
and C:\Users\Your Name\.AndroidStudio2.3
). After reinstalling and opening Android Studio, it gave me a dialog to download the SDK.
I can think of 2 possible explanations why this worked for me:
- Originally, Android Studio was opening a project straight away, which didn't trigger the "download your sdk" dialog. (This no longer occurred since I deleted my Android Studio settings.)
- There was some kind of setting that made Android Studio think I already had the SDK downloaded.
Try this:
close this box then
Tools -> Android -> SDK Manager