Android Novice Learning Note 1----environment building

Source: Internet
Author: User

STEP1 JDK Installation and configuration:

1. Download and install the JDK:

Choose to install the appropriate JDK version, depending on your system situation

Current system: 64-bit WIN8, memory 8G

Choose Java SE 8u45, or JDK 1.8.0_45, to experience the various new features of JDK8

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

When the download is complete, double-click the JDK executable file to install it directly, and you can change the installation path during installation

The installation path I currently selected: 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

The bin directory under the JDK's installation path can be appended directly to the PATH variable: such as E:\software\java\jdk1.8.0_45\bin, note that the paths in Winwdos are separated by semicolons.

Or create a new java_home environment variable whose value is set to the JDK's installation directory, which is currently:

E:\software\java\jdk1.8.0_45

Then add a reference to the variable in the path variable that adds a%java_home% to the path value.

I've chosen java_home. This configuration method, relatively flexible, easy to modify.

To verify that the configuration is successful, you can start cmd and enter java–version to view the JDK and Java Virtual machine versions.

STEP2 Download Android integrated development environment: Adt-bundle

Select the corresponding version according to your own system

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

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

Unzip after download is complete

STEP3 Configuration Adt-bundle:

ECLIPSE,SDK can be seen in the directory after Adt-bundle decompression.

Go to the Eclipse directory and start eclipse

WINDOW->PREFERENCES->ANDROID->SDK Location

Its value is set to: SDK directory, mine is E:\SOFTWARE\ADT-BUNDLE-WINDOWS-X86_64-20140702\SDK

Create a new directory to hold the virtual device files: I created a new MY_AVD directory under the Adt-bundle directory

Create a new system environment variable Android_sdk_home with the value set to the newly created directory.

The newly created virtual machine files will be stored in this directory

At this point, the Android development environment is configured to complete

Android Novice Learning Note 1----environment building

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.