"Android" uses Adt-bundle to easily build Android development environment with Hello World under windows

Source: Internet
Author: User

The Android development environment is available in three different ways, Jdk+sdk+eclipse+adt, Jdk+adt-bundle, and Jdk+android Studio.

Do not use Jdk+sdk+eclipse+adt this way, not to say what is too complicated, because the Guo Jia network you understand, open the SDK tool after the download is not. Android Studio is not a good place to set up a lot of open environments. It still needs to be networked when it's installed.

It is recommended to use jdk+adt-bundle this way to build an Android development environment. At the same time Adt-bundle look for version 20131030. The 2014 version does not give force. Good integration of all environments without simulators. Or you need to use the SDK inside the collection to download. I really was hehe.

Here's how to use Adt-bundle to easily build an Android development environment with Hello World under windows:

1, first, like the "Java" JDK download, Installation and deployment (click the Open link) under Windows Layout good JDK1.7.

If it is a 32-bit system, use the download tool directly on the http://dl.google.com/android/adt/ Adt-bundle-windows-x86-20131030.zip (click Open link) This address to download, if it is a 64-bit system, it is http://dl.google.com/android/adt/ Adt-bundle-windows-x86_64-20131030.zip (click to open link) this address.


2, decompression adt-bundle-windows-x86-20131030.zip, this 20131030 key is a collection of system.img, Android brush Machine Pro know, this thing is the key to the launch of the Android system. The later version of 2014 does not know why there is no integration.


3. After that, open the Eclipse.exe under Unzip file


4, for the first time to set up the project directory, all your Android projects are put here.


5. After closing the Guide page, do not start the new project, first open the Android simulator manager, such as:


6, after choosing New, a new machine, the option is basically no choice, the default can be, AVD name casually, here is a. Device Choose the worst-equipped phone. After all, in order to debug the time does not card. Finally, the size of an SD card, 256M is sufficient. Click "OK". Your Android app will be running on this "phone" later on.


7, then in the engineering area, new->android Application project to create a new Android project.


8, after the application input project name, the rest of the system will give you fill, here is hello. The rest defaults. Always point to the next step, you may be a bit longer when you finish, please wait patiently.


9, after the new can be run directly, the system has been written to you HelloWorld.


10. Select Run as Android app.


11, then is the most card one step-open the simulator, open simulator equals the phone's boot. Don't turn off the simulator when it's open. Eclipse compiles the program to the emulator for a second, but the open simulator can take up to 10 minutes to 15 minutes depending on the system configuration. For example, all of the system resources of my 1G simulator. In fact, the development of the Android project is not very card, the key is to open the simulator those, opened after the minimization, continue to develop, after the development of direct compilation is very happy. This is the rhythm!


12. After almost 15 minutes of waiting, Android's first program HelloWorld out.


13, if after the first time to open the simulator, as after the operation of the phone as unlocked, no response, then press the Run button again, compile again, up to 1 minutes, HelloWorld out. Obviously there's a Hello app in all the apps



"Android" uses Adt-bundle to easily build Android development environment with Hello World under windows

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.