编译android源码遇到错误及其解决方法
升级ubuntu的14.04后,android的源码又编译错误了,一下是错误说明赫解决方法:
1、make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] 断开的管道
解决方法:
sudo apt-get install bison
sudo apt-get install flex
2、
sh: 1: gperf: not found
calling gperf failed: 32512 at makevalues.pl line 137.
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h]
解决方法:sudo apt-get install gperf
3、gcc: error trying to exec 'cc1plus': execvp: 没有那个文件或目录
解决方法:sudo apt-get install g++
4、
BEGIN failed--compilation aborted at external/webkit/Source/WebCore/make-hash-tools.pl line 23.
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/html/DocTypeStrings.cpp] 错误 2
make: *** 正在等待未完成的任务....
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/platform/ColorData.cpp] 错误 2
解决方法:sudo apt-get install libswitch-perl
5、/bin/bash: xmllint: 未找到命令
解决方法:sudo apt-get install libxml2-utils
最新文章
- struts2中各个jar包作用
- IE8下String的Trim()方法失效的解决方案
- Eclipse 中 Tomcat启动卡100%(preparing launch delegate...)
- 强大的swift字符串
- 127 Word Ladder
- jquery cookie 用法
- java.sql.SQLException: Before start of result set
- HDU2149-Good Luck in CET-4 Everybody!(博弈,打表找规律)
- React 点击删除列表中对应项(React 获取DOM中自定义属性)
- 微信小应用vs progressive-web-apps
- Oracle 批量造数据
- 在Windows下安装redis扩展和memcached扩展
- 【SPOJ】Distinct Substrings(后缀自动机)
- SQLServer2PostgreSQL迁移过程中的几个问题
- Quick Select算法
- python中的operator.itemgetter函数
- git获取远程服务器的指定分支
- ubuntu16.04英文版搜狗输入法安装报错
- SpringBoot +Jpa+ Hibernate+Mysql工程
- 将你的Vim 打造成轻巧强大的IDE
热门文章
- 多彩浏览器win10版 隐私声明
- Android : 按 Back 按钮不返回处于后台的 Activity
- ClamAV学习【3】——scanmanager函数浏览
- Lora通讯
- “全栈2019”Java第九十章:内部类可以向上或向下转型吗?
- Spring Boot 之 Hello World 战记
- 我把阿里云centos gcc从4.4.7升级到4.8.2的经历
- delphi 10.2 ---treeview 基本用法
- leetcode-278-First Bad Version(注意不要上溢)
- 多事实表 SQL实现和SSAS中MDX实现的差异