android 编译
来源:互联网 发布:有向网络最短路径 编辑:程序博客网 时间:2024/04/26 19:54
每次遇到编译android,是不是总有个冗繁的过程,感觉机器不给力不是,整理了一些。
加速ubuntu 虚拟机编译android /linux 系统的方法
内核加速方法
1.安装ccache
sudo apt-get install ccache
2.添加缓存路径
vi ~/.bashrc 再最后面添加一行指定缓存路径
export CCACHE_DIR=/opt/ccache
3.测试
make clean 后再make zImage 一次就生效,一般会加速一倍时间。
可以time make zImage -jx来测试,(x是响应的内核数)
表 . 产品版本定义文件中的变量及其说明
表 . 各种模块的编译方式的定义文件
- Android编译
- android编译
- android 编译
- android 编译
- android编译
- 编译Android
- android 编译
- android编译
- android编译
- android编译
- android 编译
- android 编译
- android编译
- android编译
- Android 编译
- android 编译
- android编译
- Android编译
- url参数名在有些系统环境下不能使用中文,否则Request[...]不识别
- sed简明教程
- Machine Learning---LMS 算法数学说明
- 二分查找
- 深入理解JVM--JVM垃圾回收机制
- android 编译
- Centos6.4 kernel panic -not syncing attempted attempted to kill init!
- AndEnine学习[Box2d]导入AndEnginePhysicsBox2DExtension扩张插件
- 简单vector 的实现
- 关于UIWebView一个很奇怪问题的另类解决办法(高度递增问题)
- 关于双机中切换到备机挂载磁盘阵列时不能正常访问数据库
- 黑马程序员-常量与变量 运算符
- SSH框架整合(整合Spring,Hibernate,Struts,c3p0,log4j,mysql)
- code caves