ninja: error: 'out/target/product/victara/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by 'out/target/product/victara/obj/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (04:02 (mm:ss)) ####
在为Victara(Moto X第二代)编译AOSP时出现此错误...任何人都知道如何修复?
我正在使用此本地清单:https://github.com/renanmarcs/local_manifests/blob/master/local.xml
这就是我开始编译的方式:
cd ~/aosp
repo sync
source build/envsetup.sh
lunch aosp_victara-userdebug
make -j2
答案 0 :(得分:1)
解决:我已经改变了" USE_CUSTOM_AUDIO_POLICY" in" BoardConfig.mk"到" 0"禁用此选项。
答案 1 :(得分:0)
qcom文件夹中是否有公共文件夹?
如果否,则从cm获取device/qcom/common
文件夹。
将此行添加到local_manifest.xml
希望这有帮助。