Android的工作室SDK版本22? [英] Android Studio SDK Version 22?

查看:258
本文介绍了Android的工作室SDK版本22?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您的Andr​​oid SDK已过期或丢失的模板。请确保您使用的SDK版本22或更高版本。

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

我使用的是我已经没有的Eclipse之前,但有机器,因为SDK的问题,

The machine I'm using I've not had Eclipse on before, but had to because of the SDK Issue,

我已经安装

64位SDK在这里:

SDK 64bit here:

C:\Program Files\Java\jdk1.7.0_21

32位SDK在这里:

SDK 32bit here:

C:\Program Files (x86)\Java\jdk1.7.0_21

Android的工作室是安装位置:

Android-Studio is install here:

C:\Program Files (x86)\Android\android-studio

的Eclipse

Eclipse

C:\Program Files (x86)\Android\Eclipse

现在在这个论坛的另一部分一个不错的帖子称更改配置设置 - >项目默认值 - >项目结构,但我不知道该怎么改变。我没有进入项目(项目设置),在那里列表是:

Now on another part of this forum a nice post said to change the settings in Configure -> Project Defaults -> Project Structures, but I'm not to sure what to change. I did go into project in (project settings), the list in there is:



  • 1.7(Java版本1.7.0_21)

  • Android的SDK(Java版本1.7.0_21)

我选择了Android的SDK(Java版本1.7.0_21)。再就是新建修改按钮。但是,当我试图给它一个路径 C:\\ Program Files文件\\的Java \\ jdk1.7.0_21 等它说,这是不兼容的。

I selected Android SDK (java version 1.7.0_21). Then there are the NEW and Edit buttons. But when I try to give it a path C:\Program Files\Java\jdk1.7.0_21 etc it says it's incompatible.

我的环境变量是:

ANDROID_HOME = C:\Program Files (x86)\Java\jdk1.7.0_21
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_21

有谁知道如何解决这个问题?

Does anybody know how to fix this???

推荐答案

另外,还要确保内部配置>项目默认值>项目结构>点击Android的SDK部分的底部左侧面板,并插入你的Andr​​oid的路径SDK是这样的:/应用/ Android的Studio.app/sdk(使用浏览器指向SDK文件夹)

Also make sure that inside Configure > Projects Defaults > Projects Structure > Click on the "Android SDK" section at the bottom left panel and insert the path of your Android SDK like this: /Applications/Android Studio.app/sdk (Use the browser to point to the sdk folder).

这篇关于Android的工作室SDK版本22?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆