Android SDK中丢失,过时,或缺少模板。请确保您使用的SDK版本22或更高版本 [英] Android SDK is missing, out of date, or is missing templates. Please ensure you are using SDK version 22 or later
问题描述
可能的复制,我只是下载像Eclipse的是Android工作室Zip文件,为我打开收到此错误。
Possible duplicate, I just download a Android Studio Zip file like Eclipse, as I opened getting this error.
但问题是如何更新?
推荐答案
同样的问题发生在我身上,从<一个href=\"http://stackoverflow.com/questions/16805813/android-studio-keep-on-getting-sdk-error-message\">this
same problem happened to me, From this
我也遇到了同样的问题,解决这个问题:
I have faced the same issue, to solve it:
1 删除
(或移动
)的项目文件夹( AndroidStudioProjects
)。
1- delete
(or move
) the projects folder (AndroidStudioProjects
).
2 - 运行
Android的工作室(一个欢迎屏幕将启动)。
2- Run
the Android-Studio (a WELCOME screen will started).
3从欢迎屏幕中选择,配置
- > 项目默认
- > 项目结构
)
3- From Welcome Screen choose, "Configure
-> Project Defaults
-> Project Structure
)
4-在平台设置选择的SDK
。
4- Under Platform Settings choose SDKs
.
5选择 Android SDK中
- > right_click删除
5- Select Android SDK
-> right_click delete
.
6 Right_click
- > 新的SDK
- > Android SDK中
- >选择您的 SDK DIR
- >然后确定
6- Right_click
-> New Sdk
-> Android SDK
-> choose your SDK dir
-> then OK
.
7中选择构建目标,
- > 适用
- > 确定
。享受
7- Choose the Build target
-> apply
-> OK
. enjoy
这篇关于Android SDK中丢失,过时,或缺少模板。请确保您使用的SDK版本22或更高版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!