Android cainiao Study Notes 1 ---- environment setup, android1 ----

Source: Internet
Author: User
Tags java se

Android cainiao Study Notes 1 ---- environment setup, android1 ----

Step 1 install and configure JDK:

1. Download and install JDK:

Select and install the appropriate JDK version based on your system conditions.

Current System: 64-bit WIN8 with 8 GB memory

If you select Java SE 8u45, that is, JDK 1.8.0 _ 45, you can experience various new features of JDK 8.

JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html

After the download is complete, double-click the JDK executable file and install it directly. During the installation process, you can change the installation path.

My current installation path: e: \ software \ java \ jdk1.8.0 _ 45

 

2. Configure the JDK path:

After the installation is complete, you need to configure the relevant environment variables

You can directly append the bin directory under the jdk installation path to the path variable, for example, E: \ software \ java \ jdk1.8.0 _ 45 \ bin. Note: in winwdos, the paths are separated by semicolons.

Or create a JAVA_HOME environment variable whose value is set to the jdk installation directory, which is:

E: \ software \ java \ jdk1.8.0 _ 45

Add a reference to this variable in the path variable, that is, add % JAVA_HOME % to the path value.

I chose JAVA_HOME, which is relatively flexible and easy to modify.

Run cmd to check whether the configuration is successful. Enter java-version to view the jdk and java Virtual Machine versions.

Step 2 download the android integrated development environment: adt-bundle

Select a version based on your system

My current choice is: adt-bundle-windows-x86_64-20140702.zip

: Http://pan.baidu.com/s/1gddD1CJ

Unzip the downloaded package.

 

Step 3 configure adt-bundle:

You can see eclipse, sdk, and so on in the directory decompressed by adt-bundle.

Go to the eclipse directory and start eclipse

Window-> preferences-> android-> SDK location

Its value is set to: sdk directory, my is E: \ software \ adt-bundle-windows-x86_64-20140702 \ sdk

Create a directory to store Virtual Device Files. For example, I created a my_avd directory under the directory adt-bundle.

Create a new system environment variable ANDROID_SDK_HOME. Set the value to the directory you just created.

The new virtual machine files will be stored in this directory.

Now, the android development environment is configured.

 

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.