Keep on getting SDK error message

梦想与她 提交于 2019-11-29 13:40:49

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

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.

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

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!