Android Study Notes (2): installation environment

Source: Internet
Author: User

Update (2012.11.30 ):Today, Google launched ADT-bundle in Windows to integrate ATD and SDK into eclipse. It is a one-click installation. You do not need to configure it yourself. You can directly go to step 4th. It is similar in the Linux environment. Steps 2-3 can be merged. It is estimated that the Java SDK still needs to be installed. In short, tools are becoming more and more convenient.

1. Install the required environment, JDK of j2se and eclipse of IDE

It can be downloaded from the website, but it can be used easily in Attu.

$ Sudo apt-get install sun-java6-jdk eclipse-jdt // supplement, in the new ubuntu version, no sun-java, to use openjdk, use apt-cache search to check. If different java jdks are installed on the machine, you can use $ sudo update-alternatives -- config java to select which one is used as the default.

2. download and install the android SDK:

Slave. After decompression, execute the tools/andriod command: $ tools/andriod. Use this tool to download andriod sdks. We will see different versions of sdks in the path of platforms. The API version of andriod 2.1 is a andriod-7. Andriod
2.2 corresponds to an API version of 8. Currently, the latest API version of andriod 3.0 is 11. [Looks like http://developer.android.com/index.htmlno more shielding]

3. install and configure ATD in Eclipse

For more information, see http://developer.android.com.nyud.net/sdk/eclipse-adt.html#installing. The procedure is as follows:

1) Help-> Install New Software .. -> Add-> enter the name "ADT Plugin" and path https://dl-ssl.google.com/android/eclipse/,-> OK-> click checkbox, Next-> Accept License-> Finish

2) Windows-> Preferences-> Andriod on the Left Border-> the path for installing the SDK-> Apply-> OK

4. Create a simulator

After the installation, we can see that the andriod icon is added to the toolbar. This is the andriod SDK and AVD manager that we opened with the command line in step 2. Click in, you can configure our virtual device and click "new". The following two images are displayed. The left figure shows the added device. Click "edit" to view the configuration. The right figure shows how to select a virtual machine and enable "start" and "andriod:

 

Related links:
My android development articles

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.