下载repo,
地址修改REPO_URL='https://android.googlesource.com/tools/repo'为
REPO_URL='http://android.googlesource.com/tools/repo'
增加执行权限chmod 777 repo
创建工作目录mkdir workspace && cd workspace
执行repo init -u http://android.googlesource.com/platform/manifest
repo init -u http://android.googlesource.com/platform/manifest -b android-4.0.1_r1
repo sync
同步完成有4个多G
下载jdk1.6设置jdk环境
export JAVA_HOME=java directory path
export PATH=$JAVA_HOME/bin:$PATH
开始编译
apt-get install bison flex libncourses-dev mesa-common-dev libgl1-mesa-dev libx11-dev gperf
make //default goal droid
主要是测试开发包的依赖关系
阅读(1623) | 评论(0) | 转发(0) |