安卓编译环境配置
发表于:2023-05-06 | 分类: 安卓教程

1.安装依赖

sudo apt-get install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev python openjdk-8-jdk python python3

2.安装repo

mkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
sudo cp ~/bin/repo /bin/repo
sudo chmod a+x /bin/repo

3.设置Git

git config --global user.email "xxx@xxx.com"
git config --global user.name "xxx"
上一篇:
通过termux在手机上部署hexo到GitHub Pages
下一篇:
0基础编写TWRP的Device Tree