https://developer.android.google.cn/
https://www.androiddevtools.cn/
1 安装android studio
http://tools.android-studio.org/
(1)下载并解压到workspace/android
(2)终端运行studio.sh
2 安装jdk
http://jdk.android-studio.org/
(1)下载完成后解压到workspace/jdk
(2)配置环境路径
export JAVA_HOME=/home/bl/Android/jdk
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
(3)验证是否配置成功,终端输入javac