Android adt preliminary understanding and analysis I)
Android development can be developed by installing the eclipse plug-in ADT, But how ADT works and the details of the work are described. Here, we will perform a preliminary analysis based on our own understanding.
1. Official introduction
Http://developer.android.com/sdk/index.html
According to the official introduction of google, you only need to install an ADT plug-in eclipse, and you can access the Internet on your computer. All development work can be done.
With a singledownload, the ADT Bundle provided des everything you need to begin developing apps:
· Eclipse + ADT plugin
· Android SDK Tools
· Android Platform-tools
· The latest Android platform
· The latest Android system image for the emulator
Okay. Now that the official website says this, let's try it step by step.
First, install the adt plug-in eclipse. There are many ways to install the plug-in online, download and install the plug-in, and find a suitable method for you. Here, pay attention to the following, the same is true for online installation, including downloading plug-ins and installing plug-ins. It is best to perform dns resolution in the hosts file of your computer.
74.125.31.82 www.googlesource.com
74.125.237.1 dl-ssl.google.com
74.125.31.82 android.googlesource.com
Similar to this
After the installation is complete, write a path.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/104022Ba-0.jpg "title =" 22222.jpg"/>
Click open sdk manager.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1040223514-1.jpg "title =" 1111.jpg"/>
The red box below shows a new test sdk download path. This android_sdk_manager is a client download program written by the adt plug-in java, it lists the sdk tools currently supported by google and APIs of various versions. Of course, the premise is that you need to connect to the Internet.
Then you can select a few to download the sdk, so you don't need to download the sdk from the Internet. You only need to use the latest adt plug-in to complete the sdk. In addition, because android code is open-source, these sdks can be compiled by themselves. If you have time, summarize how to compile the sdk.
Next, after the sdk is downloaded, analyze the sdk and write how the simulator is generated and loaded.