1. Installing the JDK
Environment variables
$ sudo gedit ~/.BASHRC
Export java_home=/usr/local/jdk1.8.0_65
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin: $PATH
sudo update-alternatives--install/usr/bin/java Java/usr/local/jdk1.8.0_65/bin/java 300
sudo update-alternatives--install/usr/bin/javac Javac/usr/local/jdk1.8.0_65/bin/javac 300
sudo update-alternatives--install/usr/bin/jar Jar/usr/local/jdk1.8.0_65/bin/jar 300
sudo update-alternatives--install/usr/bin/javah javah/usr/local/jdk1.8.0_65/bin/javah 300
sudo update-alternatives--install/usr/bin/javap JAVAP/USR/LOCAL/JDK1.8.0_65/BIN/JAVAP 300
sudo update-alternatives--config java
2. Install Eclipse
Eclipse download and unzip to run without installation
3.ADT Plug-in
Download Adt-23.0.6.zip, start eclipse, then select Help>install New Software, select Adt-23.0.6.zip Install
4.android SDK
Start Eclipse, select Window>preferences, click Android on the left, and then on the right, browse to select the location of the SDK locations (that is, choose Android-sdk-linux), click OK
Http://www.linuxidc.com/Linux/2015-01/111958.htm.
Ubuntu install Eclipse,adt,android SDK, offline