How to build android
16lz
2021-01-26
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,引用必须注明出处!
更多相关文章
- framework telephony
- 如何通过Tesseract开源OCR引擎创建Android(安卓)OCR应用
- android linux 命令记录
- android编译某个模块
- ubuntu android 编译环境设置
- Android(安卓)Studio 使用 System.loadLibrary()的一些问题
- android jni开发流程
- Dalvik——基本Dalvik VM调用
- Android(安卓)的 ApkTool 反编译 apk xml 和去广告