A total of 5 steps:
1. Installing the JDK
2. Install Eclipse
3. Installation ANDROID-SDK
4. Install adb
5. Installing ADT in Eclipse
1. Installing the JDK
It has been installed before.
sudo apt-get install SUN-JAVA8-JDK
The advantage of using the command-line installation is that you do not configure environment variables.
2. Install Eclipse
http://www.eclipse.org/downloads/, choose Linux 32bit
Double-click Eclipse to start the Eclipse program and choose your own workspace when you start
At this point, eclipse is even done with the installation.
3. Installation ANDROID-SDK
Official http://developer.android.com/sdk/index.html
Select Android-sdk_r24.3.4-linux.tgz
After downloading, double-click Open, unzip the same way as the previous JDK decompression, no longer repeat
Export android_home= "/home/work/software/android-sdk-linux" Export path= "$PATH: $ANDROID _home/tools: $ANDROID _home/ Platform-tools "
At this point the SDK is equivalent to a software manager, if you want to do Android development, at least one Android version, this time is empty, then configure the ADT plugin in eclipse
You can start Android with the command line:
#android
4, install adb(with the third step may be a bit repetitive, but in order to clear the idea, the browser can ignore this step)
1. Download ANDROID-SDK
2, after decompression and placed in a directory, set environment variables, in the ~/.bash_profile or ~/.BASHRC file,
I put it in a BASHRC, and I joined a line.
Export path=${path}:< Storage Directory >/tools
3. Start Android, download Android SDK Tools | Android SDK Platform Tools | Android SDK Build-tools | Android Support Repository | Android Support library these several files.
chmod 777 < storage directory >/TOOLS/ADB #可能需要做这一步
3, connected to the mobile phone, through the terminal, into the tools directory, the first execution, input command adb kill-server.
4. The ADB is now ready to use. ADB tools are very easy to use, can debug Android phones, below are some common commands, may be drawn to summarize an article detailed introduction.
5. ADB devices
6. ADB root
7. ADB shell
5. Installing ADT in Eclipse
There are two ways to install the http://developer.android.com/sdk/eclipse-adt.html#installing, the first is on-line installation, the second is to download the installation package first, then install it directly with Eclipse, Two ways the result is the same, the recommended way to install online (at that time in here a long time, the installation of the time has been prompted missing something, such as, the next day suddenly can be installed, inexplicably, I hope readers can install success! )
Open Eclipse--->help--->install New software
Click Add after the input box
Enter the following name: ADT Plugin (can be named casually)
After location, enter: https://dl-ssl.google.com/android/eclipse/
Click OK, follow the prompts, step by step installation, the middle will be prompted whether to restart Eclipse, choose Restart now on the line. And then we'll configure OK.
Ubuntu installation Configuration Jdk+eclipse+android SDK