目录
前言
正文
坑一:ERROR: end of file in comment
编译时提示service.te有如下错误
prebuilts/build-tools/linux-x86/bin/m4:device/sprd/mpool/sepolicy/system/public/service.te:57: ERROR: end of file in comment
error提示就是说.te文件最后一行不能有注释!
下面放上错误和正确的方式。
坑二:Error: could not load context file from
编译时service_contexts提示有如下错误
out/soong/.intermediates/system/sepolicy/contexts/system_ext_service_contexts/android_common/gen/system_ext_service_contexts: line 61 has invalid context u:object_r:biu_car_service:s0# Error: could not load context file from out/soong/.intermediates/system/sepolicy/contexts/system_ext_service_contexts/android_common/gen/system_ext_service_contexts
这个错误很神奇,如果第一次改这个基本会出现。
参考文章
历史上的今天
- 2021: 《MediaPlayer异常(0条评论)》
- 2020: 《顾城:树枝的疏忽(0条评论)》
- 2019: 《Android 6.0 Settings源码简单分析之蓝牙(2)(0条评论)》
相关文章
暂无评论...