Quickly build an Android development environment-use ADT Bundle

Source: Internet
Author: User

 

1. Build an Android Development Environment

To learn more about Android development, we will start to build an Android development environment in Windows.

I have found some relevant blog posts for reference. Basically, we need to download and install JDK, Eclipse, AndroidSDK, and ADT respectively.

Later, we found the official Android sdk download address, which provides an ADT Bundle for download.

This ADT Bundle already contains the AndroidSDK, ADT, and a configured Eclipse.

Therefore, building an Android development environment requires only two steps:

1. Download and install JDK,

Http://www.oracle.com/technetwork/java/javase/downloads/index.html official address,

The latest JDK version is Java Platform (JDK) 8u5. Download and install it.

2. Download ADT Bundle,

Http://developer.android.com/sdk/index.html official address,

I downloaded the adt-bundle-windows-x86_64-20140321.zip file and decompress it.

 

2. Create a HelloWorld Application

After the preceding steps are completed, run eclipse/Eclipse.exe in the sub-folder to create an Android Application.

To create the first Android "Hello World" Application,

Can see the official help document http://developer.android.com/training/basics/firstapp/creating-project.html#Eclipse

Simply put, create a project in the new menu of Eclipse, select Android Application Project,

Then follow the Wizard to continue the Next step until Finish, so that an Android Application Project is created.

 

3. Run the newly created Android Application

Connect your Android phone to the computer where the development environment is located through USB (allow USB debugging in the mobile phone system settings ).

Then, click the Run button in Eclipse and choose to Run as an Android Application,

Eclipse will compile the code and install the compiled application on the Android system of the mobile phone,

A window is displayed on the mobile phone screen, showing "Hello World ".

 

So far, the process of building an android development environment and creating a "Hello World" application 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.