The most perfect one step building andoriod development environment in the history of the secret

Source: Internet
Author: User

Android development environment in Windows environment is not difficult to build, and many online data, but a lot of information, such as 10 percent ignored many details, and ultimately failed to achieve satisfactory results.

The basic steps are as follows: JDK installation, environment variable configuration, Eclipse download, andoriodsdk download installation, download configuration ADT
but it's not perfect here, and you need to configure the host file, otherwise you'll be depressed when you use Andoriod SDK Manager, because some of Google's URLs are harmonized. and eclipse download, andoriodsdk download installation, download configuration ADT These steps are too complex time-consuming, live cat introduced a step to solve the plan, worry and effort.


to the


1.JDK Installation
download java JDK: Click to download (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
The JDK (Java Development Kit) is the core of the entire Java, including a series of Java development things, installation needs to configure the environment variables.


2. Configure Environment Variables

Java_home

JDK installation path, the environment variable itself does not exist, need to create, you can use%java_home% as a unified reference path, the value is: JDK on your computer installation path.


PATH

The Path property already exists and can be edited directly. The function is used to configure the path, simplifying the input of the command with a value of:%java_home%\bin.


CLASSPATH

For the path of the Java class at compile time, note that the two values are set here (.;) Indicates that the JVM searches the current directory first. The value is:.; %java_home%\lib\tools.jar.


After the configuration is complete, run the following command through CMD: Java-version,javac If the return message appears, the setting succeeds.


3.Eclipse download, andoriodsdk download installation, download configuration ADT

Click to downloadHttp://developer.android.com/sdk/index.html<ignore_js_op>Unzip after download is complete



Configure host

203.208.48.134 dl-ssl.google.com

Managing ADT



Managing Android Virtual Machines

The most perfect one step building andoriod development environment in the history of the secret

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.