2016-12-24 91 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