1. install JDK(jdk-7u17-linux-i586.tar.gz)(http://www.oracle.com/technetwork/java/javase/downloads/index.html)
mkdir /usr/lib/jdk
cd /usr/lib/jdk
tar -xzvf ~/Downloads/android/jdk-7u17-linux-i586.tar.tar.gz
chmod -R 777 /usr/lib/jdk
vim ~/.bashrc
export JAVA_HOME=/usr/lib/jdk/jdk1.7.0_17
export JRE_HOME=/usr/lib/jdk/jdk1.7.0_17/jre
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export CLASSPATH=$CLASSPATH:.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
source .bashrc
update-alternatives --install /usr/bin/java java /usr/lib/jdk/jdk1.7.0_17/bin/java 300
update-alternatives --install /usr/bin/javac javac /usr/lib/jdk/jdk1.7.0_17/bin/javac 300
java -version
2. install Eclipse(eclipse-java-juno-SR2-linux-gtk.tar.gz)(http://www.eclipse.org/downloads/)
mkdir ~/android/eclipse
cd ~/android/eclipse
tar -xzvf ~/Downloads/android/eclipse-java-juno-SR2-linux-gtk.tar.gz
eclipse/eclipse
eclipse
3. install ADT Pulgin
// open eclipse until the window view has done.
help --> Install Software New... --> "add..." -->Name:ADT Pulgin Location:https//dl-ssl.google.com/android/eclipse/ --> "Next" --> .... -->done.
4. configuration Android SDK to eclipse
// open eclipse until the window view has done.
// download "android-sdk_r21.1-linux.tgz" (http://developer.android.com/sdk/index.html) and copy to "~/Downloads/android"
cd ~/android
tar -xzvf /Downlods/android/android-sdk_r21.1-linux.tgz
Windows-->Reference..-->Android-->Android SDK -->(SDK Path) -->....-->apply-->ok