"Android Test" "essay" Android Studio Environment build

Source: Internet
Author: User
Tags intl

Copyright Notice: This article from Fat Meow ~ blog, reprint must indicate the source.

Reprint Please specify source: http://www.cnblogs.com/by-dream/p/5482778.html

with Android Studio launch, Google is gradually abandoning the ADT on eclipse, and some of the official documents for the new test framework are also recommended Android Studio, so follow-up my explanation may also be in Android Studio, so this section is about setting up the environment.

Google's Official document has given the building method: http://developer.android.com/intl/zh-cn/sdk/installing/index.html

Let me write some of my construction methods:

1. Download Java SE

Address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

It is important to note that the JDK version cannot be less than 1.8 (I am downloading the x64 version here)

After the download is complete, install the application.

   

2, configure environment variables.

System variables → new java_home variable
Variable value fill in the JDK installation directory (I am D:\Program Files (x86) \java\jdk1.8.0_91)

System variables → find Path variable → edit
Enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value;

System variables → new CLASSPATH variable
Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)

We verify that the configuration is complete:

OK, no problem.

3. Download Android Studio

Address: http://developer.android.com/intl/zh-cn/sdk/index.html

After downloading, directly double-click Install. Some of the installation process:

After finish, go to the following screen and select one of the following:

Wait:

This time there may be a step to set up an agent to download the Android SDK

Click Setup Proxy to set up the agent

Input: "web-proxyhk.oa.com " "8080", click OK

Click Next

Select Standard:

Click Finish to download

And then there's a long wait

"Android Test" "essay" Android Studio Environment build

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.