We re-installed the Ubuntu system tonight and re-installed an eclipse + JDK + SDK Android development platform.
1. install and configure the eclipse Environment
1. Download the installation package
Eclipse:EclipseDownload the official website or directlyEclipse-jee-indigo-SR1-linux-gtk.tar.gz
JDK:JDKDownload the official website or directlyJdk-7u1-linux-i586 .tar.gz
SDK: SDKDownload the official website or directlyAndroid-sdk_r15-linux. tgz.
2. decompress the downloaded package
ExtractEclipse:Tar zxvf eclipse-java-indigo-SR1-linux-gtk.tar.gz
ExtractJDK:Tar zxvf jdk-7u1-linux-i586.tar.gz
Decompress SDK:Tar zxvf android-sdk_r15-linux.tgz
Move jdk1.7.0 _ 01 to the eclipse directory:MV jdk1.7.0 _ 01 eclipse
3. Configure eclipse and JDK Environment Variables
Sudo VI/etc/profile
Add at the end of the file:
ExportJava_home =/home/Yanggang/Eclipse/jdk1.7.0 _ 01
Export jre_home =/home/Yanggang/Eclipse/jdk1.7.0 _ 01/JRE
Export classpath =.: $ java_home/lib: $ jre_home/lib: $ classpath
Export Path = $ java_home/bin: $ jre_home/bin: $ path
4. Create a soft link for Quick Start
Cd ~ /Bin
Ln-S/home/Yanggang/Eclipse/eclipse
Edit the. profile file of the current user (Yanggang)
VI/home/Yanggang/. Profile
Configure the environment variable path
Path =/home/Yanggang/bin: $ path
Export $ path
5. restart the system Ubuntu
Source/home/Yanggang/. Profile (do not restart the system, use the source command)
Input:Java-version
If the Java version information is displayed, the installation is successful!
Now you can start eclipse
Eclipse &
2. install and configure the android Environment
1. Install the android development plug-in
(1) Open eclipse and choose help> install new software --> Add on the menu bar.
(2) enter the URL:Https://dl-ssl.google.com/android/eclipse/ (If an error occurs, change HTTPS to HTTP.)
(3) one-way next installation,Restart eclipse
2. Configure the android SDK
(1) Click WINDOW> preferences to go to the following page:
(2) Click the menu window> Android SDK manager to download the SDK kit.
(3) Click the menu window> AVD manager to create an AVD simulator.
Reference recommendations:
Installing the SDK (Android Developer)
Build android with eclipse + JDK + SDK in Windows