信息源https://source.android.com/setup/downloading及所在官网,需要f 墙
装repo
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
装JDK8
sudo apt-get update
sudo apt-get install openjdk-8-jdk