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

转载于:https://www.cnblogs.com/Hiddendragon/archive/2013/02/06/2904068.html

更多相关文章

  1. Android 'showAsAction' in package 'android'错误解决
  2. android Sqlite多线程访问异常解决方案
  3. Android Studio 提示错误:No IDEA annotations attached to the J
  4. Android 错误 'roundIcon' in package 'android'
  5. 错误:AGPBI: {“kind“:“error“,“text“:“Android resource c
  6. android UI跨线程操作
  7. xarmain使用Forms编译android工程出现support_r19.0.1.zip支持包

随机推荐

  1. Android(安卓)Message 及其使用
  2. android 电容屏(三):驱动调试之驱动程序分析
  3. ym—— Android(安卓)5.0学习之Activity
  4. 关于Android锁屏的问题
  5. android提高启动速度
  6. [Android Develop_003]-Android Database
  7. 腾讯面试官:了解Java Binder中的系统服务
  8. Android学习指南基础--第一讲:Android开发
  9. Android UI布局之区分 android:gravity
  10. Android(安卓)NDK JNI 的环境搭建以及简