Android Environment considerations

Source: Internet
Author: User

These two days have been in the configuration of environmental issues, I summed up a method is (do not understand the place must be good to check Baidu Google, do not muddle through, because the beginning will encounter a lot of problems) appeared the following problems:

    1. When I installed eclipse, I found that I did not know which version of the development tool to choose, and then I chose the version of Luna to develop it, and I found that the foreigner's method of naming this version was distinguished by the name of the person. A picture will know what the situation is.

However, after the online query, the Eclipse version is finally the choice of Juno and Indigo These two versions is better , because the larger version of the contrary, he has a high level of computer configuration requirements. Therefore, it is not recommended to upgrade eclipse.

So we solved the version of Eclipse. But we know that installing different versions requires different ADT to support Eclipse, So I query to the Juno version using adt18 can support to Android 4.0, so when downloading the SDK cannot choose too high API (this is my understanding), and once you upgrade the SDK, it may result in the need for a higher eclipse version and ADT plugin.

So once you upgrade the SDK, my idea is to overwrite the previous version directly, and then do not upgrade the SDK tool when you use it again, or you will need to use the higher version of ADT.

So I came up with a lot of information, and I know this:

Indigo 3.7.2+adt18, can support to Android platform 4.0, if you want to android4.2, then need to upgrade ADT and SDK

juno+adt22 Support to Android 4.2

luna+adt23 or higher support for Android 4.4 and Android L, etc. later.

So when you install ADT, open the SDK will definitely prompt you to update this with our usual software is not the same, not necessarily compatible with the version of the higher the better!! (It took me 2 days to get it--)

And the higher the upgrade, then you will find that more than 4.2 of the version will take into account the compatibility of the lower version of a lot of other packages, but also can cause failure to execute. (This is the case later)

  1. Later learned that the SDK and ADT are the corresponding problem, and I want to write android4.2 version of, then I need to download a Juno version of Eclipse and then corresponding to the adt22 can be developed, remember not to upgrade ...
  2. So now the question to understand is: how Do you want the SDK and ADT to correspond with the eclipse version?

    The order of our installation is best: ECLIPSE--ADT--SDK

    So one is to install ADT offline This online I have found (Baidu Bar) is to decompress ADT and then click on the local installation.

    one is to choose the right Android SDK version remember not to select an overly high version resulting in the need to upgrade ADT

    dt 18.0.0 (April)

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.

    1. So the next question is: Configure Eclipse.
      1. Font configuration

In the menu windows-->prefereces, find General-->appearance-->colors and Fonts, then on the right to find the font or background you want to modify, click Edit ... Can.

    1. A rookie like me also has to configure the software code completion.

The Eclipse class file (*.java) auto-complete configuration:

Windows->preferance->java->editor->content Assist

The lower end of the panel auto Activation the "." In the text box after auto Activation triggers for java. Replace with "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz." (Note that there is a "." later.) )

*.xml File Auto-complete configuration in Eclipse :

Windows->preferance->xml->xml files->editor->content Assist

The upper end of the panel Auto Activation the prompt when these characters is inserted "<=:" In the text box behind the <=: ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ "(note there is a space later)

Other Android Learning Tutorials

Android Learning Note ($) Handler messaging mechanism Android Learning Note ($) Android rewrite Onconfigurationchange...android learning Note (on) Android Configuration response System Setup thing ...

Android Environment considerations

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.