1. Visit the following official Android Website:
Http://developer.android.com/sdk/index.html
2. Click the "download the SDK" button on the right. The Ubuntu system will display "ADT bundle for Linux" on the button"
Then, download the corresponding ZIP file based on whether the system is 32-bit or 64-bit.
The latest download is the adt-bundle-linux-x86_64-20130729.zip folder, Which is 458 MB in size.
3. decompress the package after the download is completed. The package contains two folders: Eclipse and SDK. After opening eclipse, in the window/preferences menu, set the android SDK location in the preferences dialog box to the downloaded SDK directory.
In this case, eclise can create an android project.
In the Help menu of Eclipse, click the first Android IDE, and then click "new Android Application" on the pop-up page to create your own app.
4. Update the ADT plug-in and other SDK versions
By default, only the latest SDK version is installed. Currently, the SDK version is 4.3.
To install sdks of other versions, follow these steps:
In Linux, go to the downloaded SDK/tools directory and run the android file. The download SDK dialog box is displayed.
/Adt-bundle-linux-x86_64-20130729/SDK/tools $./android
However, you may not be able to access the android update address. In this case, you need to refer to the following instructions:
Android
SDK update and ADT update troubleshooting http://blog.csdn.net/ameyume/article/details/10095825
I added the following content to the/etc/hosts file:
# Google Homepage
203.208.46.146 www.google.com
# This line is used to open the official Android development website. Now it seems that you can open it without turning over the wall.
74.125.113.121 2.16.android.com
# Download the updated content from the following address:
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
However, https is still inaccessible.
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: hostname in certificate didn't match: <dl-ssl.google.com>! = <Www.google.com> or <www.google.com>
Fetched add-ons list successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-8.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, reason: SSL hostname in certificate didn't match: <dl-ssl.google.com>! = <Www.google.com> or <www.google.com>
You can change HTTPS to HTTP, or