码迷,mamicode.com
首页 > 移动开发 > 详细

android5.0 aosp编译记录(未完成)

时间:2015-01-18 22:19:43      阅读:380      评论:0      收藏:0      [点我收藏+]

标签:

 

  编译环境必须是64位系统啊,妥妥的又装了64位的ubuntu,虚拟机推荐server版本,不带x省性能……

  接着要装openjdk 1.7,记得更新一下系统的源,下面这个不错

 1 deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
 2 deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
 3 deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
 4 deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
 5 deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
 6 deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
 7 deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
 8 deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
 9 deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
10 deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

 

  然后就是sudo apt-get  install openjdk-7-jdk 依赖的包都会下载安装好,装好之后java -version一下,妥妥的。

  

  编译需要的依赖库装一下:

  sudo apt-get install bison libc6-dev-amd64 zlib1g-dev lib64z1-dev flex libncurses5-dev libx11-dev gperf

  不然中途出错又要重新搞。

 

  好了,现在还在编译,慢慢等着先。

  

  出错了,提示缺少unzip, 装上……

 

  继续……

 

  

android5.0 aosp编译记录(未完成)

标签:

原文地址:http://www.cnblogs.com/masky/p/4232384.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!