Android Development Environment Building

Source: Internet
Author: User

It took more than a day to finally build up the Android development environment. Now a little summary.

The Android development environment is built with four parts: Jdk-ide-adt-sdk.

The following tools are required:

Jdk:java Development Kit. Because the Android application layer program is written in the Java language, the JDK is a must-have tool;

ide:integrated development environment. The IDE uses a very mainstream Java development environment, Eclipse.

Adt:android development Tools. This is a plugin developed by Google for Eclipse to assist with Android development.

Eclipse+adt is currently the most popular and the best combination!

Sdk:software Development Kit, software Development Kit. Used by software development engineers for specific packages, software frameworks, hardware

platform, operating system and other development tools to build applications, the Android SDK we use is a proprietary software development kit. Of course he has a very

Important role, that is the Android virtual machine, we can download a variety of versions of the Android system for compiling tests, of course, can also use the mobile phone

Test, but a lot of compilation will cause irreparable loss to the phone, local tyrants ignore.

These are the necessary tools for the Android development environment.

Let's build our Android environment below.

  I. Installation of JDK and setting of Java environment variables

This is learning J2SE video, Mashi teacher has told us in detail. Don't dwell on it.

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

  Ii. installation of Eclipse

Eclipse: HTTP://WWW.ECLIPSE.ORG/DOWNLOADS/PACKAGES/ECLIPSE-IDE-JAVA-DEVELOPERS/HELIOSR (Choose Your own

The desired version).

Eclipse is an IDE developed for Java and Android. Eclipse does not need to be installed, unzip the unpacking package, cut the Eclipse folder to the place you want to install

You can set your working directory when you open it.

Note: For working directory, it is best not to bring Chinese or whitespace. So as not to cause unnecessary trouble.

  III. installation of ADT

Launch Eclipse, click on the Help menu, Install New software ..., click Add ..., enter the address:

  Http://dl-ssl.google.com/android/eclipse/site.xml

Select the item you want to install, and the next completes the installation and restarts. This way, ADT is ready to install.

  Iv. Installing the Android SDK

Android SDK: http://developer.android.com/sdk/index.html .

The Andorid SDK is a development kit tool for Android management, which provides development kits and tools for Android platforms at all levels. Note that because we are independent Ann

Integration (Integrated series tools), you need to download the SDK separately.

Run the installation files and set the Tools folder path in the installation directory into the PATH environment variable.

Run SDK Manager to the installation directory, and no platforms and tools are available at the beginning, and you need to download the series versions of tools and Android.

  Configuring the SDK

Select Window---Preferences, you will see the Android settings in the pop-up panel and fill in the Installed SDK path.

Each platform package installed in the SDK is configured by pressing OK. The Android environment is now ready to be developed for Android projects.

To this Android development environment to build, this process for me is not smooth sailing, during the encounter a lot of problems, not ADT installed not

The SDK emulator is not running, and eclipse is also disruptive. The next blog to talk about these errors and solutions.

Android Development 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.