1: Install JDK $ sudoapt-getinstallsun-java6-jdk2: download and install eclipse here eclipse can not be downloaded directly from the Ubuntu software repository, the software repository to download eclipse installed ADT will be a problem. we recommend that you download the SDK from the eclipse official website. Official website address: http: // www. 1: Install JDK
- $ Sudo apt-get install sun-java6-jdk
2: download and install eclipse
The eclipse here cannot be downloaded directly from the Ubuntu software repository. The eclipse downloaded from the software repository has problems when installing ADT.
We recommend that you download the SDK from the eclipse official website. Address: http://www.eclipse.org/downloads/
DownloadEclipse Classic 3.7.2, Version.
Decompress the downloaded package ~ /Bin directory, of course, you can put it in any other directory.
About how to extract, can refer to: http://www.linuxidc.com/Linux/2012-03/56950.htm
3. Download the Android SDK
Download the android SDK from http://developer.android.com/sdk/index.html and decompress it ~ /Bin directory.
4: Install ADT plugin for eclipse
Open eclipse and select install new software... under the help menu...
Click Add... on the right.
Press input:
Because my ADT has been installed, if it has not been installed, the OK button in the lower right corner will be activated. Click OK. After the button is clicked, a clear ticket is displayed. Select all the content in the list, and then click Next to finish the installation by default.
After the installation is complete, restart eclipse, click eclipse windows> Preferences, open the window, select "Android" in the options on the left, and set the SDK directory on the right, such: