Build an Android development environment in Eclipse, eclipseandroid
It took more than two days to build an Android development environment in Eclipse !!
The compiler I used was MyEclipse, but I couldn't find out how to build the environment in MyEclipse from the Internet. So I changed Eclipse, but it took a lot of effort to download Eclipse.
Not to mention nonsense. In order to make more people detour, I decided to share this experience ~~
First, you need to prepare the following:
ADT (Android Development Tools) Android Development Tool
SDK (software development kit)
Of course, the premise is that you have to have Eclipse.
Attachment download URL:
ADT: http://pan.baidu.com/s/1jGHwNFS
SDK: http://pan.baidu.com/s/1dDChwul
Eclipse: http://pan.baidu.com/s/1fd0dS
With this, it's basically half done. Why? Because these things are hard to find, it may be that I am stupid and have been searching for these things for a long time.
The following describes how to build an environment in Eclipse.
After unzipping the SDK, add the installation Path to the Path before tools, for example, D: \ Android-sdk \ tools, to the Path of the environment variable,
The downloaded ADT should not be decompressed. It is best to put it in the Eclipse root directory. In fact, it is okay not to put it, just for better management.
Go to Eclipse and click Help> install new software on the menu bar. The content shown in Figure 1 is displayed.
Figure 1
Click Add.
In the name column, just fill in the field and click Archive, select the ADT compressed package, and click OK.
Figure 2
Wait a moment, and the figure 3 will appear.
Figure 3
Then click Finish, and then it will go viral and restart Eclipse.
In this case, let you install the SDK.
In this case, click Windows> Preference in Eclipse and select Android on the Left bar, as shown in figure 4.
Figure 4
There is no place to draw X. In this case, enter the SDK installation path, click OK, and enter Preference again. Then, click Android to see something in the area just painted X.
In this case, the compiler should prompt you about the SDK Manager. In this case, figure 5 is displayed. Don't worry. When the SDK Manager is downloaded, it will be finished, as shown in figure 6.
When you open the compiler, as shown in figure 7, the installation is successful.
Figure 5
Figure 6
Figure 7
The next step is to configure the Android simulator...
As shown in figure 8, click "show 9" in sequence, and then enter "OK" as shown in Figure 10.
Go to the location shown in Figure 11 again and you will find that MyAndroid is an additional device, and then click Start.
Wait for a moment after figure 11 appears, because the instance is being started. When Figure 12 appears, the instance is successfully turned on.
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
The process of blog writing after I finished it last night should be clear.
OK, go to bed...