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個左右錯誤,網上搜一下即可,都是常見錯誤,很容易解決。