编译Android-4.0.1_r1

来源:互联网 发布:网络摄像头ip扫描软件 编辑:程序博客网 时间:2024/05/16 12:01

2011-11-15, Android-4.0.1_r1 source code is released.

下面简略描述如何编译Android-4.0.1_r1

1. 获取源代码

    # mkdir mirror-googlesource

    # cd mirror-googlesource

    # repo init --mirror -u https://android.googlesource.com/platform/manifest

    # repo sync

    注:更新mirror后的code

    # repo sync

    # repo forall -c 'pwd; git remote update'


2. 编译Android-4.0.1_r1

    # mkdir build-android-4.0.1_r1

    # cd build-android-4.0.1_r1

    # repo init -u file:///<path>/mirror-googlesource/platform/manifest -b android-4.0.1_r1

    # repo sync

    # . build/envsetup.sh

    # lunch full-eng

    # make

原创粉丝点击