【问题标题】:system/core/include/utils/String16.h:20:10: fatal error: 'string' file not foundsystem/core/include/utils/String16.h:20:10:致命错误:找不到“字符串”文件
【发布时间】:2018-11-25 15:02:49
【问题描述】:

我正在尝试构建 PixelExperience 9.0 pie rom。我只收到string file missing 错误。我查看了那个 string16.h 文件,但我不太了解。有谁知道为什么会这样。

一些有用的链接:

https://github.com/PixelExperience/system_core/blame/255cbb3f80575fa90628fd3914cfe195d0c6f899/libutils/include/utils/String16.h#L20

ROM来源:https://github.com/PixelExperience

【问题讨论】:

  • 你在这里到底做了什么?
  • 我只是尝试构建 rom,构建运行近一个小时后弹出该错误。但以前我对我的设备、供应商、通用、内核源进行了一些修改,以克服我之前遇到的一些错误。完整的错误日志,从错误行 3929 [del.dog/yacojakiza.rb] 和我的设备树 [github.com/doraemon-mvl?tab=repositories] 中查看,你可以在这里看到我对我的树所做的更改。

标签: raspberry-pi custom-rom


【解决方案1】:
  1. 如果您使用 Android.mk
    LOCAL_C_INCLUDES :=             \
            $(TOP)/system/core/include/utils \
    
  2. 如果您使用 Android.bp
    include_dirs: [
        "system/core/include/utils",
    ],
    

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-12-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多