1,下载安装SDK
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
tar xvzf android-sdk_r24.4.1-linux.tgz
mv ./android-sdk-linux ./usr/local/android
2 ,环境变量
vim /etc/profile
export ANDROID_HOME=/usr/local/android
export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/platform-tool