android source and develop

天问 84753baf9f Update 'README.md' 6 months ago
.gitignore 324f2ec2e5 Initial commit 1 year ago
LICENSE 324f2ec2e5 Initial commit 1 year ago
README.md 84753baf9f Update 'README.md' 6 months ago

README.md

Android

android source

develop

开发组件:

  • Ubuntu
  • Repo
  • git
  • java

    curl https://raw.githubusercontent.com/esrlabs/git-repo/stable/repo.cmd > ~/bin/repo.cmd
    
    chmod a+x ~/bin/repo
    export PATH=~/bin:$PATH
    
    
    repo sync  -j8       同步代码,8线程同时下载
    repo sync -l 本地checkout代码
    

由于项目庞大,国内采用下载清华大学镜像压缩包,然后解压后,执行同步

repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b xx版本
repo sync -l 

编译源码

sudo apt-get install zliblg-devf flex bison gperf libsdl-dev libesd0-dev libncureses5-dev libl1-dev

source build/envsetup.sh
make clean && make -j8