进入环境变量
$ vim /etc/profile
#jdk和android 环境变量的设置 export JAVA_HOME=/usr/lib/jvm/java export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH export PATH=/usr/lib/sdk/android-sdk-linux/tools:/usr/lib/sdk/android-sdk-linux/platform-tools:$PATH