Android Framework的开发过程中,常常需要选择使用的编译源码命令。

正确的命令往往会让你事半功倍。

1. 完全编译

  $ cd ~/android-source-code/

$ make

2. SDK编译

  $ cd ~/android-source-code/

  $ make sdk

3. 编译系统映像system.img

  $ make snod

4. 更新API

$ make update-api

5. 模块编译之mm

  $ cd ~/android-source-code/

  $ . build/envsetup.sh //注: 是 [点] + [空格] + [build/envsetup.sh]

这样你就可以在当前的Tirminal使用以下命令了

   m /* makes from the top of the tree*/

mm /* builds all of the modules in the current directory*/

mmm /* builds all of the modules in the supplied directories*/

6. 模块编译之make

$ make [module name]

本文来自http://blog.csdn.net/luqiang454171826,引用必须注明出处!

更多相关文章

  1. framework telephony
  2. 如何通过Tesseract开源OCR引擎创建Android(安卓)OCR应用
  3. android linux 命令记录
  4. android编译某个模块
  5. ubuntu android 编译环境设置
  6. Android(安卓)Studio 使用 System.loadLibrary()的一些问题
  7. android jni开发流程
  8. Dalvik——基本Dalvik VM调用
  9. Android(安卓)的 ApkTool 反编译 apk xml 和去广告

随机推荐

  1. Android中画图
  2. JS调用Android里面的方法,Android调用JS里
  3. 服务(Service)
  4. android四层框架
  5. Android主流三方库源码分析(四、深入理解G
  6. Android(安卓)数字证书详解
  7. Android(安卓)Mqtt客户端的接入
  8. ym——安卓巴士总结了近百个Android优秀
  9. Android(安卓)ActivityGroup实现tab功能
  10. android 单元测试方法 类继承 Instrument