0
  • 最佳答案

    libtinfo.so.5


    一搜这个,不就有了么?


    1153952789488054272  评论     打赏       拉大锯
    • A lonely cat  回复 @拉大锯
      后面还报了另外的错误 不过已经解决了(但是忘了咋解决的了,没注意) 顺便说一句,康师傅 NB!
      A lonely cat 2021-09-15 19:30   回复 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  评论     打赏       拉大锯
    相关问题
    断点 · aosp
    2021-06-05 21:37 327 20
    半修缘半修卿 · aosp
    2021-07-22 18:24 480 2
    HerrysYu · aosp
    2021-08-10 06:50 570 2
    再见二丁目 · AOSP
    2021-09-07 01:01 321 2
    再见二丁目 · AOSP / Android
    2021-09-14 19:11 356 10
    再见二丁目 · AOSP
    2021-09-27 19:51 469 2
    红蜘蛛的芒果布丁 · aosp
    2021-11-18 02:00 359 2
    再见二丁目 · AOSP
    2021-12-27 22:59 482 10
    再见二丁目 · Android / AOSP / Framework
    2022-02-11 00:30 224 50
    再见二丁目 · Android / Aosp / Framework
    2022-02-12 00:36 232 2
    豪豪好嘛 · Android / AOSP教程
    2022-11-10 09:36 69 2