32位ubuntu16.4编译android4.1.1
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了32位ubuntu16.4编译android4.1.1相关的知识,希望对你有一定的参考价值。
安装所需库
sudo apt-get install build-essential sudo apt-get install make sudo apt-get install gcc sudo apt-get install g++ sudo apt-get install libc6-dev sudo apt-get install patch sudo apt-get install texinfo sudo apt-get install libncurses-dev sudo apt-get install git-core gnupg sudo apt-get install flex sudo apt-get install bison sudo apt-get install gperf sudo apt-get install libsdl-dev sudo apt-get install libesd0-dev sudo apt-get install libwxgtk2.6-dev sudo apt-get install build-essential sudo apt-get install zip sudo apt-get install curl sudo apt-get install ncurses-dev sudo apt-get install zlib1g-dev sudo apt-get install valgrind sudo apt-get install python2.7 sudo apt-get install libgtk2.0-0:i386 sudo apt-get install libpangox-1.0-0:i386 sudo apt-get install libpangoxft-1.0-0:i386 sudo apt-get install libidn11:i386 sudo apt-get install gstreamer0.10-pulseaudio:i386 sudo apt-get install gstreamer0.10-plugins-base:i386 sudo apt-get install gstreamer0.10-plugins-good:i386 sudo apt-get install gstreamer0.10-ffmpeg:i386 sudo apt-get install libxml2-utils sudo apt-get install xsltproc
进入android源码目录
①source build/envsetup.sh
②lunch
此时要选择一个编译平台
③make -j8
以上是关于32位ubuntu16.4编译android4.1.1的主要内容,如果未能解决你的问题,请参考以下文章
在 Ubuntu 中在 32 位上交叉编译 64 位程序时缺少包含“bits/c++config.h”
64位的ubuntu14.04 LTS安装 Linux交叉编译工具链及32位“ia32-libs”依赖库