ubuntu 搭建android编译环境

1.android 5.1,android 6.0,android 7.0,android 8.0安装都一样,就是jdk版本不一样。

2.安装Android环境编译需要的相关包

sudo apt-get -y install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z1-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc uboot-mkimage

3.安装jdk

sudo apt-get -y install openjdk-7-jdk

你可能感兴趣的:(Ubuntu,Android)