博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
source build/envsetup.sh 之后
阅读量:4040 次
发布时间:2019-05-24

本文共 536 字,大约阅读时间需要 1 分钟。

当执行完 . build/envsetup.sh 脚本之后,在 当前 终端里 可以执行 如下 命令;

- m:       Runs make from the top of the tree. This isuseful because you can run make from within subdirectories.

- mm:      Builds all of the modules in the current directory.

如:在 packages/apps/Browser/下 执行:mm -B

- mmm:     Builds all of the modules in the supplied directories.

如:mmm <你想编译的目录的路径>
             注意:   <你想编译的目录的路径>可以在任何位置,不一定要在<android home>下,只要有Android.mk的目录都可以单独编译

在编译完之后,找到Install 字段,在它后边的路径下,有你刚才编译生成的程序; 如 Install: out/target/product/generic/system/bin/test

- croot:-  cd to the top of the tree.

转载地址:http://mipdi.baihongyu.com/

你可能感兴趣的文章
慢慢欣赏linux CPU占用率学习
查看>>
2020年终总结
查看>>
linux内核学习(4)建立正式内核的页式内存映射, 以x86 32位模式为例
查看>>
Homebrew指令集
查看>>
React Native(一):搭建开发环境、出Hello World
查看>>
React Native(二):属性、状态
查看>>
JSX使用总结
查看>>
React Native(四):布局(使用Flexbox)
查看>>
React Native(七):Android双击Back键退出应用
查看>>
Android自定义apk名称、版本号自增
查看>>
adb command not found
查看>>
Xcode 启动页面禁用和显示
查看>>
【剑指offer】q50:树中结点的最近祖先
查看>>
二叉树的非递归遍历
查看>>
【leetcode】Reorder List (python)
查看>>
【leetcode】Linked List Cycle (python)
查看>>
【leetcode】Linked List Cycle (python)
查看>>
【leetcode】Word Break(python)
查看>>
【leetcode】Candy(python)
查看>>
【leetcode】Clone Graph(python)
查看>>