running Android Studio on Windows 7 fails, no Android SDK found [duplicate]

感情迁移 提交于 2019-12-04 19:15:59

问题


I've downloaded and installed Android Studio, the program loads (after setting the JDK env variable) but when i click on "New Project" i get this error :

Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.

the android SDK is included with Android Studio in this location : C:\Program Files\Android\android-studio\sdk but it seems he dosen't find it,

android SDK or eclipse was not installed previously, anyone installed Android Studio and got/solved this error!!


回答1:


ok, here's how it worked:

I downloaded the Adt bundle and Copied the file "SDK Manager.exe" to the Android studio root directory and just executed it (this set the SDK environment variable to C:\Program Files\Android\android-studio\sdk).

then In Android studio clicked Configure ==> Project Defaults ==> Project Structure

then in the tab Project / Project SDK selected android SDK.

then in the tab SDKs / build target selected Android 4.2.2



来源:https://stackoverflow.com/questions/16599531/running-android-studio-on-windows-7-fails-no-android-sdk-found

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