1. Download the android SDK to the official website. Download http://developer.android.com/sdk/index.html2.to decompress the file ~ Under the tar-xvzfandroid-sdk_r20.0.1-linux.tgz3. Download adb .~ /Android-sdk-linux/tools/android, you only need to update platform-tools. If the update fails, you can go to tools-& gt
1. Download the Android SDK
Download http://developer.android.com/sdk/index.html to official website
2. decompress the file ~ Lower
Tar-xvzf android-sdk_r20.0.1-linux.tgz
3. Download adb
.~ /Android-sdk-linux/tools/android, you only need to update platform-tools.
If the update fails, you can add a New URL: http: // 74.125.237.1 dl-ssl.google.com in tools> Manager add onsites> user Defined Sites> New
You can.
4. Configure Environment Variables
Configure environment variables after the update is complete. Run sudo gedit/etc/profile to edit the file profile and add the following content below:
ExportANDROID_HOME = ~ /Android-sdk-linux
Export PATH = $ ANDROID_HOME/tools: $ ANDROID_HOME/platform-tools: $ PATH
5. If the adb device cannot be found, run the following command:
#! /Bin/sh
# Adb-server
PATH = "~ /Android-sdk-linux/platform-tools"
# Echo $ PATH
Cd $ PATH
# Chdir $ PATH
Echo $ (pwd)
./Adb kill-server
./Adb start-server
./Adb devices