报错如下:
including ./vendor/rockchip/common/tools/log_capture/parse_stack/Android.mk ...
including ./vendor/rockchip/common/vpu/Android.mk ...
including ./vendor/widevine/Android.mk ...
PRODUCT_COPY_FILES device/rockchip/common/init.rk30board.usb.rc:root/init.rk30board.usb.rc ignored.
No private recovery resources for TARGET_DEVICE rk3288
build/core/base_rules.mk:341: warning: overriding commands for target `out/target/product/rk3288/system/etc/init/bluetoothtbd.rc'
build/core/base_rules.mk:341: warning: ignoring old commands for target `out/target/product/rk3288/system/etc/init/bluetoothtbd.rc'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3288/system/lib/libmpp.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/rk3288/system/lib/libmpp.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3288/system/lib/libvpu.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/rk3288/system/lib/libvpu.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3288/system/lib/librk_vpuapi.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/rk3288/system/lib/librk_vpuapi.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3288/system/lib/libjpeghwenc.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/rk3288/system/lib/libjpeghwenc.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3288/system/lib/libffmpeg_vp9dec.so'
build/core/base_rules.mk:319: warning: ignoring old commands for target `out/target/product/rk3288/system/lib/libffmpeg_vp9dec.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'manifest.xml', needed by 'out/target/product/rk3288/system/manifest.xml', 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 (16 seconds) ####
ninja: error: 'manifest.xml', needed by 'out/target/product/rk3288/system/manifest.xml', missing and no known rule to make it.
解决方法//
\rk3288\device\rockchip\common\BoardConfig.mk
找到这个文件修改一下代码
#SYSTEM_WITH_MANIFEST ?= true SYSTEM_WITH_MANIFEST ?= false
原来是true,改成false就可以编译了,亲身实践
|