zoukankan      html  css  js  c++  java
  • 编译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

  • 相关阅读:
    如何解决IIS配置HTTPS证书后刷新消失问题
    Nginx https服务器证书安装步骤
    Websocket如何建立连接
    Websocket原理
    浅谈Vue中的$set的使用
    vue-router路由如何实现传参
    vue-router路由详细
    vue 中注册全局组件
    java基础
    练习例题(进度条效果和选项卡效果)
  • 原文地址:https://www.cnblogs.com/candycaicai/p/4226432.html
Copyright © 2011-2022 走看看