美文网首页
deepin15.10 Android 8.1 源码编译

deepin15.10 Android 8.1 源码编译

作者: Linn___ | 来源:发表于2020-02-03 13:12 被阅读0次

    参考
    使用清华或中科大AOSP源镜像下载Android源码
    Ubuntu下载完成AOSP后,repo sync错误解决 error: .repo/manifests/contains uncommitted changes
    Deepin15.7 Android8.1 编译 以及问题解决

    1. 安装repo

    curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    chmod a+x ~/bin/repo
    
    sudo apt-get install git-core
    sudo apt-get install git
    sudo apt-get install gnupg
    sudo apt-get install flex
    sudo apt-get install bison
    sudo apt-get install gperf
    sudo apt-get install build-essential
    sudo apt-get install zip
    sudo apt-get install curl
    sudo apt-get install libc6-dev
    sudo apt-get install libncurses5-dev:i386
    sudo apt-get install x11proto-core-dev
    sudo apt-get install libx11-dev:i386
    sudo apt-get install libreadline6-dev:i386
    sudo apt-get install libgl1-mesa-dev
    sudo apt-get install g++-multilib
    sudo apt-get install mingw32
    sudo apt-get install tofrodos
    sudo apt-get install python-markdown
    sudo apt-get install libxml2-utils
    sudo apt-get install xsltproc
    sudo apt-get install zlib1g-dev:i386
    sudo apt-get install dpkg-dev
    sudo apt-get install clang++ 
    

    2. 获取清华源 源码

    mkdir android_8
    cd android_8
    wget https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
    tar xf aosp-latest.tar
    cd aosp
    repo sync
    

    3. 切换分支

    repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-8.1.0_r41
    repo sync
    

    . build/envsetup.sh
    lunch aosp_car_x86_64-userdebug
    make -j16

    相关文章

      网友评论

          本文标题:deepin15.10 Android 8.1 源码编译

          本文链接:https://www.haomeiwen.com/subject/msemaqtx.html