Please reference to http://developer.android.com/sdk/installing.html
Download JDK6: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u32-downloads-1594644.html
make the bin executable: sudo chmod u+x jdk-6u2-linux-x64.bin ./jdk-6u2-linux-x64.bin sudo mv jdk1.6.0_32 /usr/lib/jvm sudo vi /etc/environmentPATH="/usr/lib/jvm/jdk1.6.0_32/bin"CLASSPATH=.:/usr/lib/jvm/jdk1.6.0_32/lib JAVA_HOME=/usr/lib/jvm/jdk1.6.0_32change default JDK
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_32/bin/java 300sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac 300sudo update-alternatives --config java (Eclipse cannot launched after doing this, so I changed back to OpenJDK)java -versionDownload Android SDK: http://developer.android.com/sdk/index.html
sudo tar xvzf android-sdk_r18-linux.tgz sudo mv android-sdk-linux /home/haiping Add Eclipse ADT Source: https://dl-ssl.google.com/android/eclipse