ubunut 12.04 (64bit) android编译环境搭建

修改libgl1-mesa-glx:i386为推荐库libgl1-mesa-dri:i386


以下为君正编译环境,较android官网多了最后一行配置,不添加会编译失败。

apt-get install git-core gnupg flex bison gperf build-essential\
 zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev\
 libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dri:i386\
 libgl1-mesa-dev g++-multilib mingw32 tofrodos\
 python-markdown libxml2-utils xsltproc zlib1g-dev:i386\
 cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-multilib gcc g++ cpp gcc-multilib g++-4.6-multilib\

 ia32-libs gawk qt4-dev-tools

sudo apt-get install libxml2

sudo apt-get install libxml2-dev

  apt-get install openjdk-7-jdk

你可能感兴趣的:(ubunut 12.04 (64bit) android编译环境搭建)