Android源码开发环境搭建教程讲解。
1、需要安装Android的环境
编译Android的LINUX交叉编译工具
编译LINUX驱动的交叉编译工具(4.3.1)
编译JNI的工具包:NDK(在LINUX下)
编译JAVA程序:esclips+ADT+SDK
2、编译Android源码
$ source build/envsetup.sh ,然后就会多出几个可用的命令:
- croot: Changes directory to the top of the tree.
- m: Makes from the top of the tree.[......]