Tools ------ Installing the Android SDK ------ Installing Android Studio

来源:互联网 发布:安卓中文编程软件 编辑:程序博客网 时间:2024/06/02 05:19

Installing Android Studio

安装Android Studio

Android Studio provides everything you need to start developing apps for Android, including the Android Studio IDE and the Android SDK tools.

Android Studio 提供了在你开始开发Android应用所需要的一切东西, 包含Anddroid Studio IDE 和Android SDK 工具

If you didn't download Android Studio, go download Android Studio now, or switch to the stand-alone SDK Tools install instructions.

如果你没有下载Android Studio, 请现在去下载Android Studio, 或者切换到独立的SDK工具安装说明

Before you set up Android Studio, be sure you have installed JDK 6 or higher (the JRE alone is not sufficient)—JDK 7 is required when developing for Android 5.0 and higher. To check if you have JDK installed (and which version), open a terminal and type javac -version. If the JDK is not available or the version is lower than 6, go download JDK.

在你搭建Android Studio之前, 请确定你已经安装了JDK6或者是更高的JDK(单独的JRE是不够的),当开发Android5.0的应用 或者更高系统的Android 应用至少需要JDK7。

要检查你是否已经安装JDK以及安装的JDK的版本, 打开终端并输入 javac -version命令即可查看。 如果JDK不可用或者版本低于6, 请下载JDK。

[ Show instructions for all platforms ](所有平台的说明介绍)

To set up Android Studio on Windows:

 在Windows系统上面搭建Android Studio                                                                          

  1. Launch the .exe file you just downloaded.
       启动你下载的Android Studio 的.exe文件

  1. Follow the setup wizard to install Android Studio and any necessary SDK tools.
   按照安装向导安装Android Studio 以及所有必要的SDK 工具

  1. On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.    

     在某些Windows系统下, 启动脚本会找不到已安装的java平台, 如果你遇到了这种问题,你需要配置一个环境变量来指定正确的JAVA位置

                                                                                                                                                                      Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.

    选择开始菜单 >   我的电脑 > 属性>高级系统设置. 然后打开高级标签页> 环境变量, 然后新建一个名为 JAVA_HOME的环境变量, 这个变量的值指向JDK的路径 , 例如C:\Program Files\Java\jdk1.7.0_21.
 

The individual tools and other SDK packages are saved outside the Android Studio application directory. If you need to access the tools directly, use a terminal to navigate to the location where they are installed. For example:

默认个人工具和其它的SDK包被保存在Android Stduio应用文件夹的外面.如果你需要直接访问这些工具,用终端导航到这些工具的安装位置即可.例如: 

\Users\<user>\sdk\

Android Studio is now ready and loaded with the Android developer tools, but there are still a couple packages you should add to make your Android SDK complete.

Android Studio 现在已经准备好了,并且也已经加载了Android 开发者工具, 但是仍然有一些包需要添加,以确保你的SDK完整.

0 0
原创粉丝点击