Android Development Environment (windows OS) Supplement (-), android40-9

Source: Internet
Author: User
Tags android sdk manager

Android Development Environment (windows OS) Supplement (-), android40-9

  

I have set up an android development environment over the past few days and want to play with Android development. After querying CSDN, CNBLOG, and video websites, we finally set up the development environment and found that all the guidance was relatively discrete. For example, some of them only talked about the installation method, while others only talked about the download method. This article is a collective achievement, which is an integration of network resources. In addition, I may write only one type here, but only one brick can be thrown. There are many ways to do this ~~~

1 Preparation: Understand the Android system architecture and basic installation methods

Before doing things, you must understand the purpose and background of doing things. It is easy to find the background of the Android system. We recommend that you use Baidu encyclopedia. You can also refer to the introduction of videos on the official website or articles written by experts. You do not need to understand or understand the system architecture level and its general purpose.

There are generally two installation methods: tool installation one by one or installation of the entire toolkit.

Install the following tools one by one:

1. Prepare the installation environment (JDK \ JRE)

-- Android is developed based on java and Linux and requires a java development environment;

2. Install the SDK

-- Software development kit, responsible for the collection of software development tools, including software systems and hardware systems;

3. Install ADT

-- The management tool of Android development tools, which is responsible for upgrading and updating development tools;

4. Install Eclipse

-- IDE;

5. Run and debug the first program to verify the installation is successful;

 

The Installation Method of the entire toolkit 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 installation is successful;

I only used the second method for installation (Life is short, everything is simple). This article only introduces the second method.

Recommendation link:

1. Introduction to Google's official Android system:

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 and install Resources

JDK packages with JRE can be downloaded from the Oracle official website. Here, I would like to remind you that the java Plug-in is divided into several platforms and JAVA SE is selected.

Since Google is often GWF, it is not recommended to officially download FQ. In fact, good people have already shared official resources, so it is best to search for shared resources in CSDN \ Baidu, which can be found on network disks!

Recommendation link:

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. Prepare the installation environment

Install the latest JDK version directly. You need to understand the meaning of environment variables. Environment variables are used to allow the tool to quickly find the path setting of the file to be found. After the installation is complete, check that the installation is OK, especially to understand the meaning of the "java" and "javac" commands!

Recommendation link:

1. Environment Variables

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

2. Verify that JDK is correctly installed.

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

3. Java check instruction meaning

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

 

4 install ADT bundle for windows-x86 Toolkit

Directly place the installation package in a proper location, and unzip it. It contains the Eclipse package, SDK package, and SDK manager executable files. Open the SDK manager and find the "tool", "platforms", and "extra" entries on the main interface. You can check the meanings online and find the corresponding files in the sdk folder of the toolkit. Note that the installation may have just been newly installed and has not been updated. There may be only one SDK version. This is the SDK environment that you need to set up the FQ proxy to update. If you want to modify the host, you can directly locate the official server, which is better.

Recommendation link:

1. modify and update the FQ Proxy:

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

2. Modify the Host

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

3. SDK entry Description: Baidu

4. How to update SDK entries: Baidu (entry-level Android video of geek College)

 

5. How to quickly download SDK files and create virtual machines

After updating the entries of each SDK version, you can download the SDK file. Various download failures are likely to occur. This requires you to re-set the proxy to the FTP server in China, which will make the download faster. It is estimated that these files have already been updated to domestic servers in real time. When you select to download a file, you can download the entire SDK version. If you are familiar with it, you can also download part of it. We recommend that you download the entire SDK version. After the download, you need to build the first virtual machine, that is, to build your software and hardware configuration and system. You can refer to the geek College Video. After the VM is set up, run the VM to check whether the VM is OK. Some simulation machine emulator can enter the boot interface within dozens of seconds, and it took me almost 10 minutes, maybe the PC is too scum. In addition, you may need to install a hardware accelerator, as described below.

Recommendation link:

1. Android sdk manager:

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

2. Create a virtual machine: Baidu (entry-level Android video of geek College)

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

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

 

6. Create and run your first debugging program. KO!

After the VM can run, you can set up your first APP: hello world. For more information, see geek College. Here, you can go on your Android development journey. Isn't it a little excited ~~~~

Recommendation link:

1. Set up your first program: Baidu (entry-level Android video of geek College)

 

7. Other problems

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

HAX is not working and emulator runs in emulation mode

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

Cause: hax is not started after installation,

Countermeasure: Just restart the PC.

 

Okay, it's written here.This article continues to update and sends an email to the lirufa@foxmail.com if you have any questionsOr directly ask a question in this blog. I will reply as soon as possible. After all, not everything is so urgent, right?

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.