0
  • 最佳答案

    libtinfo.so.5


    一搜这个,不就有了么?


    1153952789488054272  评论     打赏       拉大锯
    • A lonely cat  回复 @拉大锯
      后面还报了另外的错误 不过已经解决了(但是忘了咋解决的了,没注意) 顺便说一句,康师傅 NB!
      A lonely cat 2021-09-15 11:30:51   回复 1204736502274318336
  • [  0% 2/79106] host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
    FAILED: out/hostnux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o 
    


    这个,你可以理解为Main.cpp编译为Main.o失败了。


    为什么呢?


    往下看呀:


    /bin/bash -c "PWD=/proclf/cwd  prebuilts/clang/hostnux-x86/clang-4691093/bin/clang++ 
     -I frameworks/base/tools/aapt
     -I out/hostnux-x86/obj/EXECUTABLES/aapt_intermediates 
     -I out/hostnux-x86/gen/EXECUTABLES/aapt_intermediates 
     -I libnativehelper/include_jni \$(cat out/hostnux-x86/obj/EXECUTABLES/aapt_intermediates/import_includes) 
     -I system/core/include 
     -I system/media/audio/include 
     -I hardwarebhardware/include 
     -I hardwarebhardware_legacy/include 
     -I hardware/ril/include -
     I libnativehelper/include 
     -I frameworks/native/include 
     -I frameworks/native/opengl/include 
     -I frameworks/av/include  -
     c  -Wa,--noexecstack -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector 
     -D__STDC_FORMAT_MACROS 
     -D__STDC_CONSTANT_MACROS 
     --gcc-toolchain=prebuilts/gccnux-x86/host/x86_64-linux-glibc2.15-4.8 
     --sysroot prebuilts/gccnux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot 
     -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall 
     -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions 
     -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proclf/cwd= 
     -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro 
     -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics 
     -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu 
     -Bprebuilts/gccnux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference 
     -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next  
     -isystem prebuilts/gccnux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8
     -isystem prebuilts/gccnux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward 
     -isystem prebuilts/gccnux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux 
     -std=gnu++14  -DAAPT_VERSION=\\\"\$(cat outild_number.txt)\\\" -Wall -Werror -fPIE -D_USING_LIBCXX -DANDROID_STRICT -nostdinc++ 
     -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type 
     -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch   
     -MD -MF out/hostnux-x86/obj/EXECUTABLES/aapt_intermediates/Main.d -o out/hostnux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o frameworks/base/tools/aapt/Main.cpp"
    


    这是啥?这是编译指令呀,编译谁,参数是啥,输出是啥,都有了。


    为什么会失败呢?


    prebuilts/clang/hostnux-x86/clang-4691093/bin/clang++.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
    


    libtinfo.so.5: cannot open shared object file: No such file or directory


    你这个共享库没有呀!!!!


    说明你的环境有问题呀,是不是安装的时候漏掉啥了呀。


    怎么办呢?


    装这个库:libtinfo.so,怎么装,是什么模块的?


    搜索一下就知道了。



    1153952789488054272  评论     打赏       拉大锯
    相关问题
    尖沙咀-段坤 · 安卓
    2024-09-11 11:03 8 2
    YanLQ · AOSP
    2024-08-10 11:57 15 100
    断点 · vue
    2024-08-08 10:05 32 30
    幻影~ · 安卓 / 面试
    2024-06-15 18:51 31 2
    我爱吃西瓜 · Android / AOSP / repo / git
    2024-05-09 21:11 46 10
    2024-05-06 17:25 27 10
    2024-05-06 15:52 17 10
    幻影~ · 安卓
    2024-04-26 19:25 39 4
    deanhu · AOSP
    2024-04-25 21:53 15 10
    幻影~ · 提问
    2024-04-13 20:13 28 2
    幻影~ · 找工作
    2024-04-07 10:44 34 2