After installing the Android studio and launching it I am getting this error.
I cannot specify the path to the SDK. I have tried giving the path as :C:\Development\Android\android-sdk-windows\platform-tools\"
but the path is invalid
Navigate to the File > Settings option you will get to see below dialog screen. Inside that screen. Click on Appearance and Behavior option > System Settings options and then click on the Android SDK option to get to see the below screen. Inside this screen, you will get to see your SDK path.
Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.
Close the current project and you'll see a pop-up with a dialog which will then proceed to Configure option. Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local. properties and select Valid Target.
To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box. You can navigate to the Android SDK location in File Explorer, copy the path from the address bar, and paste this path into the Android SDK Location box.
Try this:
close this box then
Tools -> Android -> SDK Manager
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With