首页 > 代码库 > 解决twrp编译遇到的问题

解决twrp编译遇到的问题

1.

问题:

ninja: error: ‘/home/jessie/OMNI/out/target/product/m1/obj/SHARED_LIBRARIES/libcryptfs_hw_intermediates/export_includes‘, needed by ‘/home/jessie/OMNI/out/target/product/m1/obj/SHARED_LIBRARIES/libcryptfslollipop_intermediates/import_includes‘, missing and no known rule to make it
build/core/ninja.mk:157: recipe for target ‘ninja_wrapper‘ failed
make: *** [ninja_wrapper] Error 1

解决:

百度没搜索到什么相关又价值的,最后在github里找到了

删除BoardConfig.mk里的
TW_INCLUDE_CRYPTO := true
TARGET_HW_DISK_ENCRYPTION := true

解决twrp编译遇到的问题