Use Adt-bundle to easily build an Android development environment with Hello World (Windows) _android

Source: Internet
Author: User

There are three ways to develop the Android environment, namely 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 know, open the SDK tool after the download is not. Android Studio is also not good, said the collection of large open environment. It still needs to be networked when it's installed.

It is recommended that you use Jdk+adt-bundle to build an Android development environment. At the same time Adt-bundle look 20131030 version. The 2014 version does not give force. It's good to integrate all the environments without the simulator. Or you need to use the SDK download inside the collection. I really is hehe.

Here's how to use Adt-bundle to easily build the Android development environment with Hello World in Windows:

1, first, as the JDK download, installation and deployment of graphics and text tutorial under Windows Layout good JDK1.7.

If it's a 32-bit system, use the download tool directly to http://dl.google.com/android/adt/ Adt-bundle-windows-x86-20131030.zip (click to open link) to download this address, 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's pro know that this thing is the key to the start-up of the Android system. The 2014 version later did not know why it was not integrated.


3, after, open the decompression file under the Eclipse.exe


4, the first start to set up a good engineering directory, after all your Android projects are put here.


5. After closing the Guide page, it does not matter to create a new project, first open the Android simulator manager, as shown below:


6, then choose New, a new machine, the option is basically no choice, the default can be, AVD name casually, here is a. Device Choose the most poorly configured cell phone. After all, in order to debug the time does not card. The final complement SD card size, 256M enough. Click "OK". Later, your Android program runs on this phone.


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


8, after the application input project name, the rest of the system will fill you, here is hello. The rest can be done by default. Always point to the next step, the point of finish may be longer card, please wait patiently.


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


10, choose to run the Android application.


11, after is the most card step-turn on the simulator, open the simulator equals the mobile phone boot. Don't turn off the simulator when it's open. Eclipse compiles the program onto the emulator for a second, but the emulator can take 10 minutes to 15 minutes depending on the configuration of the system. The following figure, all 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, after the minimum, continue to develop, after the development of direct compilation is very happy. This is the rhythm!


12, after nearly 15 minutes of waiting, Android's first program HelloWorld out.


13, if the first to open the simulator, as the operation of the mobile phone after the unlock, there is no response, and then press the Run button again, compile again, up to 1 minutes to wait, HelloWorld came out. Obviously, there's a Hello apps in all the programs.


The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.