system/core/include/utils/String16.h:20:10: fatal error: 'string' file not found

426 views Asked by At

console output

I was trying to build PixelExperience 9.0 pie rom. I only get string file missing error. I looked inside that string16.h file but I didn't understand much. Does anyone know why it's happening.

some helpful links:

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

rom source: https://github.com/PixelExperience

1

There are 1 answers

0
Aiden On
  1. If you work with Android.mk:
    LOCAL_C_INCLUDES :=             \
            $(TOP)/system/core/include/utils \
    
  2. If you work with Android.bp:
    include_dirs: [
        "system/core/include/utils",
    ],