Precautions for the android environment and precautions for the Android system
I have been configuring the environment for the past two days. One method I have come up with is (you must check Baidu Gu Ge if you don't understand it. Don't be confused, because you may encounter many problems at the beginning) the following problem occurs:
However, after online query, the final version of eclipse is better than juno and indigo, because the larger the version, the opposite, has high requirements on computer configuration. Therefore, we recommend that you do not upgrade eclipse.
So we solved the eclipse version issue. However, we know that different versions require different ADTs to support eclipse, so I found that juno versions can support Android 4.0 using adt18, therefore, when downloading the sdk, you cannot select an API that is too high (which is my understanding). Once you upgrade the SDK, you may need a higher version of eclipse and the adt plug-in.
What should I do once you upgrade the sdk? My idea is to directly overwrite the previous version and do not upgrade the sdk tool when you use it again. Otherwise, you need to use the advanced version of adt.
So I found a lot of information and I know this situation:
Indigo 3.7.2 + adt18 supports Android 4.0. If you want to upgrade Android, You need to upgrade the ADT and sdk.
Juno + adt22 supports to Android 4.2
Luna + adt23 or later supports Android 4.4, android L, and other later versions.
So after you install the adt and open the sdk, you will be prompted to update the sdk, which is different from the software we usually use. It is not necessarily backward compatible, nor is it the higher the version, the better !! (I got it for 2 days --)
In addition, the higher the upgrade, you will find that versions above 4.2, considering the compatibility with low versions, will also have a lot of other packages, and may cause failure to execute. (This is the case later)
Dependencies:
Java 1.6 or higher is required for ADT 18.0.0.
Eclipse Helios (Version 3.6.2) or higher is required for ADT 18.0.0.
ADT 18.0.0 is designed for use with SDK Tools r18.
Choose windows> prefereces from the menu, choose General> Appearance> Colors and Fonts, and find the font or background you want to modify on the right. Click Edit.
In Eclipse, class files (*. java) are automatically configured:
Windows-> preferance-> java-> Editor-> Content Assist
At the bottom of the panel, Auto Activation replaces "." In the text box after Auto activation triggers for Java with "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ." (Note that there is another ".")
In Eclipse, the *. xml file is automatically configured:
Windows> preferance> XML Files> Editor> Content Assist
At the top of the panel, Auto Activation replaces "<=:" with "<=: blank" in the text box after Prompt when these characters are inserted (note that there is a space behind it)