Android development Environment Build (Windows OS) supplement

Source: Internet
Author: User
Tags android sdk manager java se

These days to build an Android development environment, but also want to play Android development. In the query Csdn,cnblog, the video site finally set up the development environment, found that all the guidance is more discrete, such as some only say installation method, some only say download method. This article is a synthesis, is the integration of network resources. In addition, I may only write one here, just throw a brick, method can be many, welcome to add ~ ~ ~

1 Preparation: Learn about Android system architecture and Basic installation methods

Before doing things, you have to understand the purpose and background of the work, probably can. Android System background is easy to find, recommended Baidu encyclopedia on line, you can also refer to some official website video introduction or master author Introduction. Don't need to understand or understand, just need to understand the system architecture level and its approximate purpose.

There are two general installation methods, one for tool installation or the entire kit installation.

The tools are installed as follows:

1. Prepare the installation environment (JDK\JRE)

-- Android is based on Java and Linux and requires a Java Development environment;

2. Installing the SDK

--- Software Development Toolkit, which is responsible for the collection of software development tools, including software systems, hardware systems, etc.

3. Installing ADT

--android Development Tool Management tool, responsible for the development of tool upgrade update;

4. Install Eclipse

-- IDE for developing integrated environment ;

5, run and debug the first program to verify the success of the installation;

The entire Toolkit installation method is as follows:

1, prepare the installation environment (JDK\JRE);

2. Install ADT Bundle for windows-x86 Toolkit;

3, run and debug the first program to verify the success of the installation;

I only use the second method of installation (life is too short, everything to find Jane), this article only introduces the second method.

Recommended Links:

1, Google's official Android System Introduction:

http://blog.jobbole.com/77687/

Http://www.android100.org/html/201204/24/1096.html

2, installation method Google Introduction:

Http://developer.android.com/training/basics/firstapp/index.html

2 How to quickly download installation Resources

The JDK package has a JRE available for download on Oracle's website. Here's a reminder that theJava plugin is divided into several platforms, choosing Java SE.

As Google is often GWF, it is not recommended to FQ official downloads. In fact, there are good people to share the official resources, so it is best to csdn\ Baidu Search for shared resources, the network can generally be found, omnipotent Ah!

Recommended Links:

1. JAVA Tool Differences:

http://www.examw.com/java/zhuangye/148383/

2, ADT bundle for windows-x86 network disk sharing: Please search in CSDN , a lot!

3 Preparing the installation environment

Just install the latest JDK version directly. To understand the meaning of environment variables. environment variable is used to let the tool quickly find the location of the file to find the path setting. After the installation is complete, confirm the installation OK, especially understand the meaning of "Java" "Javac" directive !

Recommended Links:

1. Influence Environment Variables

http://blog.csdn.net/lonely_fireworks/article/details/32182131

2. Confirm that the JDK is installed correctly

http://daydreamsome.blog.163.com/blog/static/961854092012333270559/

3. Java check directive meaning

http://daydreamsome.blog.163.com/blog/static/961854092012333270559/

4 Installing the ADT bundle for windows-x86 toolkit

Just put the installation package in the right place, unzip the open on the line. Inside containsEclipsePackageSdkPackages andSDK Managerexecutable file. After opening the SDK Manager , found that the main interface has "tool","Platforms","Extra" entry, you can check the specific meaning of the Internet, can be in the toolkit SDK folder to locate the relative file. Note that you may have just installed a new installation and have not yet been updated. Perhaps there is only one SDK version, which is the SDK environment that you can use to set up FQ agent updates . If you change the host, directly to the official server, the effect is better.

Recommended Links:

1, modify the update FQ agent:

Http://jingyan.baidu.com/article/636f38bb267982d6b84610f0.html

2. Modify Host

Http://jingyan.baidu.com/article/b0b63dbfd0948c4a483070ea.html

3, the SDK entry meaning: Baidu a bit

4, update the SDK entry method: Baidu (Geek College Android Video)

5 How to quickly download the SDK files and build a virtual machine

After the updateSdk after each version of the entry, you can download sdk file. It is likely to encounter various download failures, which is the need to re-set the proxy to the domestic ftp on the server, this will download faster. It is estimated that some experts have updated these files in real-time to the domestic server. Choose to download the file, you can the entire sdk version are all downloaded, if familiar, can also be partially downloaded. Suggest the whole sdk version are all downloaded. After downloading, to establish the first virtual machine, is to build your hardware and software configuration and system, a look will know. You can refer to the Geek Academy video. After the build up, you can run the virtual machine to see if okemulator go into the boot interface, and my almost spent the 10 Many minutes, probably pc

Recommended Links:

1, the Android SDK manager update download slow solution:

http://my.oschina.net/765155496/blog/299272

2, the establishment of virtual machines: Baidu (Geek College Android introductory video)

3 Tip:emulator:ERROR:x86 emulation currently requires hardware acceleration! Please ensure the Intel HAXM is properly installed and usable. :

Installation HAXM: http://blog.csdn.net/rznice/article/details/402102134

6 Build your first debug program and run it. ko!

After the virtual function runs, it can build its first app : Hello World. You can refer to the Geek College. Here you will be able to develop your Android tour, is not a little excited ~ ~ ~

Recommended Links:

1, establish their own first program: Baidu (Geek College Android video)

7 Summary of other issues

1. Hint:emulator:the memory needed by this VM exceeds the driver limit.

Hax is isn't working and emulator runs in emulation mode

Cannot set up guest memory ' Pc.ram ': Invalid argument

Cause: From a semantic perspective, it should be Hax installed and not started,

Countermeasures: Restart the PC on the line.

Transferred from: http://www.cnblogs.com/lirufa/p/4091412.html

Android development Environment Build (Windows OS) supplement

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.