I have been working on Android Studio for a while now. But today when I tried to create a new project, I got the following error message:
Your Androi
SDK files are not included in the Android Studio distribution package android-studio-ide-135.1538390-windows.zip. You have to manually add them, for instance from the adt-bundle-windows-x86-20140702.zip file.
I have faced the same issue, to solve it:
1- delete (or move) the projects folder (AndroidStudioProjects
).
2- Run the Android-Studio (a WELCOME screen will started).
3- From Welcome Screen choose, "Configure
-> Project Defaults
-> Project Structure
)
4- Under Platform Settings
choose SDKs
.
5- Select Android SDK
-> right_click delete
.
6- Right_click
-> New Sdk
-> Android SDK
-> choose your SDK dir
-> then OK
.
7- Choose the Build target
-> apply
-> OK
. enjoy
Had same issue with Studio 2.0 on Ubuntu 14.04. What actually helped me: close the Studio; rename SDK folder; open the Studio; enter a new path in prompt dialog.
In the case: if your project sdk is already set and was running properly.
and after that it gives error like: "please select your sdk" then just copy same android sdk folder to different folder and set that new android sdk path to your project and rebuild your project,it will fix the issue, then again change your project android sdk path to old path and rebuild project.
I had the same issue the i came to understand that the android studio was not able to create folder so i ran the studio as sudo
cd /opt/android-studio/bin
then run sudo bash studio.sh