Android Source code
来源:互联网 发布:yum 没有可用软件包 编辑:程序博客网 时间:2024/05/01 23:36
获取master source code
$ repo init -u git://android.git.kernel.org/platform/manifest.git
指定初始化版本
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo
如果下载完master的code之后,能不能在master中切换到其它的分支?比如froyo?如果不能这样的话,岂不是还要重新下载其它的分支?
要编译froyo, 需要jdk1.5, 和make 3.81.
在64位上编译froyo, 出现
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
安装glib-devel-i686之后, 可解决该问题, 但是又有新的错误
/usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz/usr/bin/ld: cannot find -lzcollect2: ld returned 1 exit status
安装zlib-devel.i686, 继续编译target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)## An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV (0xb) at pc=0x5566b9ab, pid=5463, tid=2179472240## Java VM: Java HotSpot(TM) Server VM (1.5.0_22-b03 mixed mode)# Problematic frame:# V [libjvm.so+0xd59ab]## An error report file with more information is saved as hs_err_pid5463.log## If you would like to submit a bug report, please visit:# http://java.sun.com/webapps/bugreport/crash.jsp#/bin/bash: line 1: 5463 Aborted (core dumped) javac -J-Xmx512M -target 1.5 -Xmaxerrs 9999999 -encoding ascii -bootclasspath out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar -classpath out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar -g -extdirs "" -d out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes /@out/target/common/obj/JAVA_LIBRARIES/framework_intermediates//java-source-list-uniqmake: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41这是什么原因? 是因为代码没有下载完整?在32位编译froyo, 出现错误Generating CSSPropertyNames.h <= CSSPropertyNames.insh: gperf: command not foundcalling gperf failed: 32512 at ./makeprop.pl line 96.安装gperf, 继续编译, 顺利结束看来froyo在64位上编译会有问题.
- android source code list
- Android source code debug
- Android download source code
- Get Android Source Code
- Get Android Source Code
- Android Source code
- Android source code
- Android Kernel Source Code
- Get Android source code
- about android source code
- Get Android Source Code
- android source code compile
- android source code online
- android source code structure
- Android VPN source code
- android source code online
- eclipse+android source code
- Android VPN source code
- 如果,编译Android时新添加的应用程序没有被编译进image
- 关于IE浏览器缓存问题研究和chrome,firefox,浏览器隐私模式的体会。
- u-boot/include/command.h下的U_BOOT_CMD定义说明
- 什么是守护线程
- 如何为linux释放缓存
- Android Source code
- CentOS 编译 nginx+php+mysql 安装手记
- CentOS 编译 nginx+php+mysql 安装手记
- IplImage 中 ImageData 问题
- Java获取当前时间.
- CentOS 编译 nginx+php+mysql 安装手记
- 有没有做光功率计的一起啊
- 对中日繁字符集编码范围正则表达式的总结
- 编写每天定时切割Nginx日志的脚本