运行Android工作室在Windows 7上失败,没有Android SDK中发现 [英] running Android Studio on Windows 7 fails, no Android SDK found

查看:164
本文介绍了运行Android工作室在Windows 7上失败,没有Android SDK中发现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载并安装Android的工作室,程序加载(设置后的<一个href="http://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found">JDK ENV变量),但是当我点击新建项目我得到这个错误:

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 :

您的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.

Android SDK中包含了Android工作室在以下位置: C:\ Program Files文件\机器人\机器人工作室\ SDK ,但他似乎忽略了最低发现,

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或月食没有安装previously, 任何人都安装了Android的工作室,得到了/解决了这个错误!

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

推荐答案

好了,下面是它如何工作的:

ok, here's how it worked:

我下载了ADT包和复制的文件SDK的manager.exe到Android工作室的根目录,只是执行它(这种设置SDK环境变量为 C:\ Program Files文件\机器人\机器人工作室\ SDK )。

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).

然后在Android的工作室点击配置 ==> 项目默认值 ==> 项目结构

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

然后在选项卡中的项目 / 项目SDK 选择 Android SDK中

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

然后在标签软件开发工具包 / 构建目标选择的Andr​​oid 4.2.2

then in the tab SDKs / build target selected Android 4.2.2

这篇关于运行Android工作室在Windows 7上失败,没有Android SDK中发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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