随笔杂记

   :: 首页 :: 新随笔 ::  ::  :: 管理 ::
1.安装相关软件
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z1-dev libgl1-mesa-dev gcc-multilib g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libsdl-dev libesd0-dev libncurses5-dev lib32ncurses5 lib32stdc++6 rapidsvn nautilus-open-terminal libswitch-perl subversion openjdk-7-jdk lib32z1 libusb-dev libpcap-dev lib32bz2-1.0 libmtp-common mtp-tools libmtp-dev libmtp-runtime libmtp9

2.设置环境变量,修改.bashrc
export ANDROID_SDK_HOME=/home/xxx/android_env/adt-bundle-linux-x86_64/sdk
export ANDROID_HOME=/home/xxx/android_env/adt-bundle-linux-x86_64/sdk
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export JRE_HOME=$JAVA_HOME/jre
export PATH=.:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$GRADLE_HOME/bin:$PATH:
export CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib
export USE_CCACHE=1
export MAVEN_HOME=/home/xxx/android_env/apache-maven-3.3.9/
export GRADLE_HOME=/home/xxx/android_env/gradle-2.10
export GRADLE_USER_HOME=/home/xxx/android_env/gradle-2.10
export ANT_HOME=/home/xxx/android_env/apache-ant-1.9.7
export PATH=$GRADLE_HOME/bin:$MAVEN_HOME/bin:$ANT_HOME/bin:$PATH
export GOROOT=/root/go
export GOPATH=/root/goworkspace
export PATH="/root/go/bin:/root/goworkspace/bin:"$PATH
posted on 2016-06-22 14:37 天宇恒星 阅读(400) 评论(0)  编辑  收藏 所属分类: Android

只有注册用户登录后才能发表评论。


网站导航: