Quickly build an Android development environment-using ADT Bundles

Source: Internet
Author: User

First, build the Android development environment

Recently, to learn the basics of Android development, we started to build the Android development environment under Windows.

Find some relevant blog post reference, basically are to download and install the JDK separately, Eclipse, ANDROIDSDK, ADT

Later found Android SDK download official address, provide an ADT bundle download.

This ADT Bundle already contains ANDROIDSDK, ADT, and a well-configured eclipse.

Therefore, it only takes two steps to build an Android development environment:

1. Download the JDK and install it,

Official address http://www.oracle.com/technetwork/java/javase/downloads/index.html,

The current JDK version is Java Platform (JDK) 8u5, which can be installed after download.

2. Download ADT Bundle,

Official address http://developer.android.com/sdk/index.html,

I downloaded the adt-bundle-windows-x86_64-20140321.zip and unzipped.

Second, create a HelloWorld application

Once the above two steps are complete, you can start creating an Android app by running Eclipse/eclipse.exe in the subfolder.

To create the first Android "Hello World" application step,

You can see the official Help document Http://developer.android.com/training/basics/firstapp/creating-project.html#Eclipse

Simply put, in Eclipse's new menu, create a new project, select Android Application project,

Then follow the wizard until finish, creating an Android application Project.

Third, run the new Android application

Connect your Android phone via USB to the computer where the development environment is located (the system settings for your phone, to allow USB debugging).

Then click the Run button in Eclipse and choose to run as Android application

Eclipse compiles the code and installs the successful app to the phone's Android system,

The phone screen will appear with a window that says "Hello world".

At this point, the process of building an Android development environment and creating a "Hello World" app has been completed.

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.