Build an Android development environment drawings + Simulator installation (Jdk+eclipse+sdk+adt)

Source: Internet
Author: User
Tags android sdk manager

-There are many ways to build an Android development environment, such as Jdk+eclipse+sdk+adt or jdk+eclipse+ bundled Androidsdk or Android Studio.

Google decided to focus on building Android Studio compiler tools. Google terminated at the end of last year to support its eclipse including plug-in ADT. (Android Studio will be a trend).

This article will be used only as a note, since you have been using Word, Notepad to record some notes, and so on. (Big God do not spray, if there is wrong place, also hope to point out.) Thank you! )

Build the development environment:

1. Download the JDK, ANDROIDSDK, Eclipse, ADT(and of course the English is not good enough to download the Eclipse Chinese package.) This website and other places are available for download)

2. installing the JDK and configuring environment variables (System variables and user variables can be selected by themselves)

Variable name: Java_home Variable Value: JDK installation directory (ex: E:\JAVA\JDK1.8.0_65)

Variable name: CLASSPATH variable value:.; % Java_home%\lib; % Java_home%\lib\tools.jar;

Variable name: Path variable value:% Java_home%\bin; % Java_home%\jre\bin;

Note: After configuration, the Win+r key opens typing cmd into the DOS window. The Java version number is displayed in the DOS input java-version, and the input Java or javac will prompt for Java usage. Javac is a command compiled into a. Class bytecode file, and Java is the command used to interpret the. class file.

--------------------------------------------------------------------------------------------------------------- ------------

I. understanding the JRE and JDK (operating environment and development environment)

JRE (Java Runtime Environment): All Java programs run under the JRE, including JVM (Java Virtual machine) virtual machines and Java core class programs.

JDK (Java Development Kit): The core of Java. Includes Java's runtime environment, Java's Development tools (Javac compilation, Java execution, Javadoc generation, etc.), and Java's underlying class order.

Summary: The JRE does not include development tools, compilers, debuggers, and other tools.

Second, the JDK directory under the detailed folder

BIN:JDK contains some development tools to execute files

DB: Open source Java-developed relational database Derby

Include:c Language header file, support programming with Java local interface

Jre:java the root of the operating environment (this JRE comes with the JDK)

Lib:java Some library files to be used by the development tools (non-core class library files Tools.jar, Dt.jar. Cannot be lost)

Srz.zip: Archived Java source code

--------------------------------------------------------------------------------------------------------------- -----------------

3.Eclipse's localization

* Download the corresponding Eclipse version of the Chinese package from the official website or other places and unpack the Chinese package;

* Create a language subfolder in the Dropins folder in the Eclipse directory;

* Finally, the extracted Chinese package (features and plugins folder) copied to the language directory;

* Launch eclipse, visible to the Chinese version of Eclipse.

Note: do not start Eclipse first, in the Chinese. Otherwise there will be some non-Chinese phenomenon. (Of course, there are other ways of Chinese, personal feeling this more simple and convenient)

4. run Android SDK Manager.exe(the SDK path cannot contain Chinese). Run appears as

Android SDK (Android software Development Kit): Android Software Development Kit tool

Note 1: Some of the files in tools and extras that need to be installed explain

Tools in the Android SDK tool include Android development and debugging, Android SDK Platfrom tools to support platform features;

Android Sdkbuild tools Android Build tool (build apk); Extras extended function;

Android Support library compatible libraries; USB drivers for USB Drivers devices;

Note 2: Explanations under the Android version directory

Documentation for Android SDK--API help documentation; SDK platfrom– API for platform, some jar packages

Samples for sdk– instance; Google apis– a set of APIs provided by Google; Sources for Android sdk–sdk source code

ARM EABI v7a System image, Inter x86 Atom system image, MIPS system image, etc.

Refers to different (ARM, Intel, MIPS) processor (CPU) system images

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

After checking the files that need to be installed, click Install XX packages, jump to the next screen tick Accept License, click Install.

After the installation is complete, check that the selected package is successfully installed. True

5. Installing the ADT plugin

Running Eclipse Installation ADT Plugin

6 . Association ANDROIDSDK

Small knowledge point: Androidsdk Manager Download installs packages, download speed is too slow to use the agent download.

Android SDK Online Update mirror server resource address: HTTP://ASK.ANDROID-STUDIO.ORG/?/ARTICLE/34

==================================================================================

Add: Create diagram for Android simulator

Build an Android development environment drawings + Simulator installation (Jdk+eclipse+sdk+adt)

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.