zoukankan      html  css  js  c++  java
  • LinuxMint 18 编译cm13.0 笔记

    1、安装依赖文件

    sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev g++-multilib git flex bison gperf build-essential libncurses5-dev:i386 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 dpkg-dev libsdl1.2-dev libesd0-dev git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip m4
    pngquant maven

    2、安装jdk 7

      详细页面>>  debian/deepin 15.3安装jdk 1.7 (或jdk 7),配置默认环境

    3 、安装repo

    #新建bin目录
    mkdir ~/bin
    #指定repo路径
    PATH=~/bin:$PATH
    #下载repo,并移动到bin目录下
    curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    #赋予repo读写权限
    chmod a+x ~/bin/repo

    4、设置环境

    echo "export PATH=~/bin:$PATH" >> ~/.bashrc

    5、同步源码

    mkdir cm13
    cd cm13
    repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0
    repo sync --no-clone-bundle -c -j4

    6 、编译

    . build/envsetup.sh
    prebuilts/misc/linux-x86/ccache/ccache -M 50G
    brunch xxx
  • 相关阅读:
    day08超市商品库存案例
    day07
    day06_03
    day06_02
    day06_01
    最简单的库存管理java案例
    Day05_homework
    方法的使用注意事项
    day05
    冒泡排序
  • 原文地址:https://www.cnblogs.com/dinphy/p/5670293.html
Copyright © 2011-2022 走看看