Ice Cream Sandwich 4.0 Build Guidance
来源:互联网 发布:我的世界双持js 编辑:程序博客网 时间:2024/06/15 23:43
Build Server:CentOS 6.0 X86_64
TargetAndroid Version: Ice Cream Sandwich 4.0
JDK: 1.6.0_29
OS Image Download site: http://mirrors.163.com/centos/6.0/isos/x86_64/CentOS-6.0-x86_64-bin-DVD1.iso
Android Source Code Download Page: http://source.android.com/
JDK Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html
1. Build yourenvironment, install the OS and patch the essential packages.
linuxdba--> yum install make glibc libstdc++ bison flexncurses zlib libc git compat-gcc gcc binutils curl ncurses-devel ncurses-libssquashfs libGL libXrender libX11
Download JDKand install.
2. Downloadthe Repo script and ensure it is executable:
linuxdba--> curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo >/usr/bin/repo
linuxdba--> chmod +x /usr/bin/repo
3. Createyour build home directory/working directory.
linuxdba--> mkdir /android_ics
linuxdba--> cd /android_ics
4. Init therepo client.
4.1 Downloadthe "master" code.
linuxdba--> repo init-u https://android.googlesource.com/platform/manifest
4.2 Downloadone branch other than "master", specify it with -b:
linuxdba--> repo init -uhttps://android.googlesource.com/platform/manifest -b android-4.0.1_r1
5. Downloadsource code.
linuxdba--> repo sync
6. Initializethe environment with the build/envsetup.sh.
linuxdba--> source build/envsetup.sh
includingdevice/samsung/maguro/vendorsetup.sh
includingdevice/samsung/tuna/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash
7. Choose onetarget to build with lunch
linuxdba--> lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_maguro-userdebug
5. full_tuna-userdebug
6. full_panda-eng
Which would you like? [full-eng] 2
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86-atom
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
8. Start to build by "make", you could enhance the task with a parallel argument"-jN"
linuxdba--> make
or
linuxdba--> make -j2, make -j4..... (for multi CPU/PROCESSOR)
9. ENJOY.
Any comments welcome, please contact linuxdba@qq.com, thx.
- Ice Cream Sandwich 4.0 Build Guidance
- Android 4.0 Ice Cream Sandwich MediaFramework
- Ice Cream Sandwich系虾米?
- Ice Cream Sandwich编译指令。
- android 4.0 (Ice Cream Sandwich) 已经开源
- Android 4.0(Ice Cream Sandwich, 简称ICS,冰激凌三明治)
- 你期待的Ice Cream Sandwich长啥样儿
- Comparing Ice Cream Sandwich with iOS 5
- Why Ice Cream Sandwich Crashes your App
- Windows XP SP2下获取Android 4.0的源代码(Ice Cream Sandwich 冰激凌三明治)
- Android 4.0 Ice Cream Sandwich源码发布,source code release啦
- Ice Cream Sandwich系统将统一Android版本
- Building Ice Cream Sandwich (Android v4) for VirtualBox on EC2
- Ice Cream Sandwich 中使用私有 API 修改 WiFi 代理服务器设置
- (OK) Building Ice Cream Sandwich (Android v4) for VirtualBox on EC2
- Android 4.0 Ice Cream “冰激凌三明治”
- Icy ice cream delivery
- 拯救ice-cream
- 为神马两次send一次就能收到
- 硬件描述语言
- int与字节数组互相转换
- MSP430RAM内数组分配问题,实验结果
- list 异步加载图片
- Ice Cream Sandwich 4.0 Build Guidance
- Java内存对象的逃逸分析
- semaphore and mutex
- fsl imx51 android真机调试
- ubutu 突然看不到共享文件夹 原来是更新后vmtools发神经 或者是更新ubuntu的原因 所以没事别更新啊
- web工程初始化spring容器, 并读入总配置文件
- 10 个很棒的 jQuery 代码片段
- vi命令参考
- 设置Chrome以https方式访问指定网址