Android ADT Bundle Development environment Configuration and first "Hello World" program run

Source: Internet
Author: User

recently in learning Android by the way to record the learning process as a review, it is written the first official blog.

First, the JDK environment configuration

Second,Android ADT bundle Download

Third, install the SDK

Four, simulator and real machine debugging

V. FIRST procedure Hello world!

Vi. Summary

First, the JDK environment configuration

Jdk

Select "Accept License agreement" to download, such as:

Click Install after download, all the way next

After configuring the environment variable Java_home, find the path to the JDK installation, my following:

Second, Android ADT bundle download

Http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip

After downloading the direct decompression on the line, get the following folder

Go to the Eclipse folder and click "Eclipse.exe" to enter the Eclipse development interface

Third, install the SDK

Click the Red arrow button "Android SDK Manager" to enter the SDK Manager management interface after opening eclipse


Select the version that needs to be installed, I choose the API 16, choose Install after the long wait ....


Four, simulator and real machine debugging

Click on Android Virtual Device Manager to create a new emulator, step reference on the chip,



Set the phone to debug mode

HTC Desire S s510e Mobile: Set --Application development-->usb debugging, playing √;

Xiaomi 1S Mobile: System Settings-Developer Options--Open developer Options-->usb Debug


V. First procedure Hello world!

Create a new Android application Project, then all the way next

The appearance of this interface is a successful creation.

Right-click on the project-->run as--and Android application, then prompt to select a running device, I choose a virtual device,

Just wait and the interface will appear, so this completes the run of a Hello World program.

Vi. Summary

Then there will be many Android learning notes.

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.