2016-12-24 94 views
1
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(极限摩托2代)编译AOSP当我得到这个错误...任何人都知道如何解决的时候缺少“libaudiopolicyservice_intermediates”?试图编译AOSP 7.1.1版本6?

我“M使用这个地方的清单: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

如果您还没有尝试过,请首先尝试一个干净的版本。 “make clean”然后是“make clobber”,然后是“build/envsetup.sh”,其余的都是 –

+0

@GodslaveAsad我试过这个但没有成功。 :( – Renan

回答

1

已解决:我已将“BoardConfig.mk”中的“USE_CUSTOM_AUDIO_POLICY”更改为“0”以禁用此选项。

0

你有QCOM文件夹中的文件夹共同

如果没有,则从cm获取device/qcom/common文件夹。

此行添加到您的local_manifest.xml

希望这有助于。

+0

我已添加'device/qcom/common'和'hardware/qcom/media-caf/msm8974'和'hardware/qcom/display-caf/msm8974'和'hardware/qcom/audio-caf/msm8974'和'device/qcom/sepolicy'从CyanogenMod ...所以我已经进入'make clean'和'make clobber',然后尝试构建...相同的错误。 – Renan