Ubuntu 14.04 下载Android源码后执行编译时遇到的问题记录:
1、bmp_to_raw 未知命令
file /vendor/mediatek/proprietary/bootable/bootloader/lk/dev/logo/tool/bmp_to_raw 显示为32位文件
uname -a 显示64位系统
解决方法:
apt-get install g++-multilib
apt-get install gcc-multilib
2、error while loading shared libraries :libz.so.1 : cannot open shared object file : no such file or directory
sudo apt-get install apt-file
sudo apt-file update
sudo apt-file search libz.so.1
sudo apt-get install libz32zl
prebuild/misc/linux-x86/bison/bison -d 断开的管道
prebuild/misc/linux-x86/bison/bison m4 子进程失败
sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev bison
xmllint : command not found
sudo apt-get install libxml2-utilities