Android源码编译--整理
2015-07-03 13:32
609 查看
1、android源码编译与开发:问题记录
补充:
问题:
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_39".
The correct version is: 1.5.
Please follow the machine setup instructions at
http://source.android.com/download ************************************************************
************************************************************
You are attempting to build with the incorrect version
of javac.
Your version is: javac 1.6.0_39.
The correct version is: 1.5.
Please follow the machine setup instructions at
http://source.android.com/download ************************************************************
解决:
注意:这里我要说明一下,CM9的编译脚本相对于官方源码的编译脚本忽略了或者说处理了一些可能出现的错误的地方,比如说这里java版本的检测,如果是open jdk的话,官方就编译不过,其实是一样的,只需要修改一下脚本(build/core/main.mk),找到检测java+javac版本的地方:
2、Android源码mm模块编译 & mm编译apk
3、Android系统权限和root权限
CM9源码下载和编译http://www.cnblogs.com/qianxudetianxia/archive/2012/05/27/2512447.html
补充:问题:
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_39".
The correct version is: 1.5.
Please follow the machine setup instructions at
http://source.android.com/download ************************************************************
************************************************************
You are attempting to build with the incorrect version
of javac.
Your version is: javac 1.6.0_39.
The correct version is: 1.5.
Please follow the machine setup instructions at
http://source.android.com/download ************************************************************
解决:
注意:这里我要说明一下,CM9的编译脚本相对于官方源码的编译脚本忽略了或者说处理了一些可能出现的错误的地方,比如说这里java版本的检测,如果是open jdk的话,官方就编译不过,其实是一样的,只需要修改一下脚本(build/core/main.mk),找到检测java+javac版本的地方:
3、Android系统权限和root权限
相关文章推荐
- Android入门(4)——AutoComplete TextView实现动态自动匹配输入的内容
- Android 多个ImageView图片层叠透明区域点击事件穿透
- Android中获取手机屏幕各部分的尺寸
- Java, android Scanner 简单的使用
- Android入门(3)——使用TextView实现跑马灯效果
- Android Fragment 真正彻底的解决(下一个)
- Android中保存图片的两种方式
- Android ScrollView遇到的问题
- android TextView设置删除线,超链接,颜色和字体等说介绍,androidtextview
- android实现背景音乐播放
- android如何长时间音乐播放实现MediaPlayer
- Android4.4KK下遮盖p-sensor拨打电话无法自动灭屏的问题分析
- Android4.3 蓝牙BLE初步
- Android四大基本组件介绍与生命周期
- Android DiskLruCache完全解析,硬盘缓存的最佳方案
- android隐藏中间四位手机号
- Android 中的一些Manager
- android sdk离线安装
- Android环境搭建
- 【转】Android 最火的快速开发框架XUtils