Ubuntu配置环境变量
#java environment
export JAVA_HOME=/home/dongtian/jdk1.8.0_45
export JRE_HOME=/home/dongtian/jdk1.8.0_45/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
#set sdk environment
export ANDROID_HOME=/home/dongtian/sdk
export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH