Ubuntu安装android源码编译工具

这是ubuntu14.的
sudo apt-get install git gnupg flex bison gperf build-essential

  sudo apt-get install zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev

  sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386

  sudo apt-get install libgl1-mesa-dev g++-multilib mingw32 tofrodos

  sudo apt-get install python-markdown libxml2-utils xsltproc zlib1g-dev:i386

  sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
  ubuntu16.
  sudo apt-get install -y git flex bison gperf build-essential libncurses5-dev:i386
  ubuntu16.0的
sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev g++-multilib
sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
sudo apt-get install dpkg-dev libsdl1.2-dev libesd0-dev
sudo apt-get install git-core gnupg flex bison gperf build-essential
sudo apt-get install zip curl zlib1g-dev gcc-multilib g++-multilib
sudo apt-get install libc6-dev-i386
sudo apt-get install lib32ncurses5-dev x11proto-core-dev libx11-dev
sudo apt-get install lib32z-dev ccache
sudo apt-get install libgl1-mesa-dev libxml2-utils xsltproc unzip m4
  其中ming32找不到需要配置安装源
  sudo gedit /etc/apt/sources.list
  然后配置更新重新安装即可
  sudo apt-get update
sudo apt-get install mingw32

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