基本上出此类问题都是so库并且在android.bp中include对应路径任然报错
include_dirs: ["frameworks/native/libs/permission/include/"]
实际上bp指定对应路径为
export_shared_lib_headers: [
"libpermission",
],
解决思路均为先找到你对应需要include目录。然后查看该目录下Android.bp编译的库name
在讲name应用到export_shared_lib_headers中