升级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

最新文章

  1. struts2中各个jar包作用
  2. IE8下String的Trim()方法失效的解决方案
  3. Eclipse 中 Tomcat启动卡100%(preparing launch delegate...)
  4. 强大的swift字符串
  5. 127 Word Ladder
  6. jquery cookie 用法
  7. java.sql.SQLException: Before start of result set
  8. HDU2149-Good Luck in CET-4 Everybody!(博弈,打表找规律)
  9. React 点击删除列表中对应项(React 获取DOM中自定义属性)
  10. 微信小应用vs progressive-web-apps
  11. Oracle 批量造数据
  12. 在Windows下安装redis扩展和memcached扩展
  13. 【SPOJ】Distinct Substrings(后缀自动机)
  14. SQLServer2PostgreSQL迁移过程中的几个问题
  15. Quick Select算法
  16. python中的operator.itemgetter函数
  17. git获取远程服务器的指定分支
  18. ubuntu16.04英文版搜狗输入法安装报错
  19. SpringBoot +Jpa+ Hibernate+Mysql工程
  20. 将你的Vim 打造成轻巧强大的IDE

热门文章

  1. 多彩浏览器win10版 隐私声明
  2. Android : 按 Back 按钮不返回处于后台的 Activity
  3. ClamAV学习【3】——scanmanager函数浏览
  4. Lora通讯
  5. “全栈2019”Java第九十章:内部类可以向上或向下转型吗?
  6. Spring Boot 之 Hello World 战记
  7. 我把阿里云centos gcc从4.4.7升级到4.8.2的经历
  8. delphi 10.2 ---treeview 基本用法
  9. leetcode-278-First Bad Version(注意不要上溢)
  10. 多事实表 SQL实现和SSAS中MDX实现的差异