Android: 下载并编译Android Source Tree

Android: 下载并编译Android Source Tree

Android Source的下载及其编译参照:

1. Initializing a Build Environment

http://source.android.com/source/initializing.html

2. Downloading the Source Tree

http://source.android.com/source/downloading.html

3. Building the System

http://source.android.com/source/building.html

注意:

1)Ubuntu系统推荐使用12.04 LTS,而不是Google推荐使用的10.04。

2)第一次build时,使用make命令,而不是使用Google推荐的make -jn,因为多个线程同时build时,经常会产生依赖文件还没有build完成导致的不同步问题。

3)第一次build时,会出现3个左右错误,网上搜一下即可,都是常见错误,很容易解决。

Android: 下载并编译Android Source Tree

posted @ 2013-02-06 13:02  ououmiao  阅读(327)  评论(0编辑  收藏  举报