Android learns a---build a development environment

Source: Internet
Author: User

Android is based on Java and runs a lightweight operating system on the Linux kernel. Because it is based on Java, learning is not too difficult, Java has a certain understanding and know some basic graphical user interface, the introduction is very simple.

first, understanding the JDK, Sdk,adt,adt bundle,android Studio

With the development of Android, it is becoming easier to build an Android development environment.

JDk: (Java Development Kit) is the Java Language Software Development Kit (SDK), to compile Java programs, you must install the SDK.

JRE: (Java Runtime Environment), which includes the Java Virtual Machine (JVM), the Java Core Class library, and the supporting files. The JRE must be installed to run Java.

SDK: (software development Kit), typically a collection of development tools used by software engineers to create applications for specific software packages, software frameworks, hardware platforms, operating systems, and more.

ADT: (Android Developer tools) is an upgrade download tool for Android development tools under Eclipse. ADT is just an eclipse plugin that can set the SDK path.

We know that developing C + + programs under Windows requires only the Visual Studio IDE, but the development of Android is Java-based, so you need to install the Java development environment. This is the first step, then you can select only

Download SDK Tools, or download the ADT Bundle, or Android Studio.

ADT Bundle:

    • Eclipse + ADT Plugin
    • Android SDK Tools
    • Android Platform-tools
    • A version of the Android platform
    • A version of the Android system image for the emulator

Android Studio: An Android development environment based on IntelliJ idea, similar to visual Studio.

The SDK has been described earlier, which is used for you already have an existing IDE that needs to be upgraded by SDK. For beginners, there are generally two of downloads, and Android Studio is recommended for novice users, since the ADT plugin for Eclipse has not been developed. But the tool is still in beta, memory-intensive, slow-running, and will not be released until very soon. The ADT bundle is the equivalent of bundling the Adt,eclipse and SDK, saving multiple downloads, and most of the current tutorials are based on this development environment. So get started or choose ADT Bundle.

Second, download, install, update2.1 Downloads

JDK: Select Standard Edition Download.

: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Installation Tutorial: http://www.cnblogs.com/xiangshancuizhu/archive/2011/06/13/2079740.html

Is mainly the configuration of environment variables.

ADT Bundle: Download the latest version

Official address: Http://developer.android.com/sdk/index.html#download

It's slow, and it's easy to drop off with a browser download.

Baidu Network Disk Download:

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

2.2 Installation

Unzip the downloaded file after the completion of a disk, it is best to compare the upper level of the directory. Then open eclipse without installation, such as choosing Java Perspective,

The following screen appears, and then select Android SDK Manager (the red box on the left and the right to create an Android virtual machine). or open another folder directly under the Android SDK Manager.exe

2.3 Update SDK

Select the corresponding version in the following interface to update, preferably all selected.

At this time may be slow download, often update is not successful, you need to set up a proxy, set as follows.

Wait patiently for the download to complete and build the Android development environment.

Since eclipse in the ADT Bundle has already installed the ADT plugin, it does not need to be installed, and if you want to change the ADT version, you should uninstall it in the update.

Some errors and issues that occur during installation are updated later.

Android learns a---build a development environment

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.