Android Latest Version development environment set up graphics and text tutorial _android

Source: Internet
Author: User
Tags java se

This article only describes how to configure the JDK and the configuration of the Adt-bundle. For previous versions of Adt-bundle, the Cpu/abi system mirrors will be created, and after the two steps described in this article you can create AVD directly, but the latest adt-bundle downloaded from the official website is not mirrored. The next article describes how to download multiple versions of the Android platform and download mirrors.

I. JDK download, installation and environment variable configuration

1 the JDK download

A, enter the URL https://www.oracle.com/into the Oracle website, as below, click the Java SE in the downloads bar to enter the Java SE download interface:


For example, click the JDK's Download button in the download interface and eject a download interface with multiple versions of the JDK:


For example, select the latest version of JDK 8u92, select the appropriate version of your computer's system to download after accepting the license for the Agreement:


2 Installation of JDK

First in the D disk, the new empty folder D:\java\jdk1.8.0_92 and D:\java\jre1.8.0_92, easy to install.

Double-click to run the downloaded JDK, the way will be two times file installation location prompts, the first is the installation location of JDK, the second is the location of the JRE installation, the installation location selected as D:\java\jdk1.8.0_92 and D:\java\jre1.8.0_92, as follows:



The final file installation location is as follows:


3 JDK System environment variable configuration (and test)

On the desktop, right-click on the computer---properties---advanced environment settings---advanced---environment variables, operations demo as follows


There are many tutorial configurations on the web that are too complex to do in just two steps:

A, add JDK's bin path to the system variable's path environment variable, and note that each path ends with a semicolon

Path: Increase D:\java\jdk1.8.0_92\bin;

b, add a java_home item to the environment variable of the system variable to store the JDK installation path

java_home:d:\java\jdk1.8.0_92



Reboot the computer, the above two paths can take effect, the system will automatically generate the CLASSPATH option in the system variable. After Win+r starts the cmd command-line interface, the following uses Javac to test whether the JDK is configured successfully, and successfully displays the following to indicate a successful configuration:


Ii. the integration of the Eclipse integrated development environment

Early developers need to download eclipse first and then download and install the ADT plugin and the Android SDK and configure it themselves. This is a lot of steps, Android Developer official online provides a relevant development environment package download, including the Eclipse,adt, and the Android SDK, direct download decompression, after the environment will be much easier to match.

1 download of the Android SDK and Eclipse integrated development Environment Package (ADT-BUNDLE)

Enter the website of the official website http://wear.techbrood.com/, after entering the site, on the menu bar, click the Develop option, then click the Tools option, click the button "Download Eclipse ADT" in the content of the Web page as follows:


After entering the download page, click the mouse in the order shown in the following image to download:


2 Extract Adt-bundle Package, configure environment variables, and open eclipse

As shown below, select the D disk decompression, the following is the extracted files:


In the system environment variable's path option, add the Tools directory path under the SDK folder:


After opening the Eclipse application in the D:\adt-bundle-windows-x86_64-20140702\eclipse directory, the first time you open eclipse you need to set up a project storage directory and set it yourself, such as F:\android_ Workplace

After you open eclipse, click on the Window menu---"Preferences---" Android, select the Unpacked SDK directory on the right SDK location directory, click Apply, and the SDK will match:



Although the new version has the Android 4.4W platform, but I later created AVD (Virtual Android simulator), display errors, missing Cpu/abi mirror, the next chapter describes how to solve.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.