Firefly开源社区

标题: AIO-3399ProC系统定制问题-automotive [打印本页]

作者: fchen    时间: 2022-8-8 16:32
标题: AIO-3399ProC系统定制问题-automotive
希望基于“AIO-3399ProC Android 9”进行系统定制来支持automotive,请问该如何修改编译脚本,支持car.mk成功编译集成?
当前变更:
1. 基于rk3399pro_firefly_aioc新增product: rk3399pro_firefly_car(只改了名字)
2. 在rk3399pro_firefly_car目录下修改BoardConfig.mk, 添加
$(call inherit-product, device/generic/car/common/car.mk


错误日志:
[ 59% 60186/101810] AAPT2 link out/target/common/obj/JAVA_LIBRARIES/setup-wizard-lib_intermediates/package-res.apk
[ 59% 60187/101810] target R.java/Manifest.java: Calendar (out/target/common/obj/APPS/Calendar_intermediates/src/R.stamp)
[ 59% 60188/101810] target Java source list: setup-wizard-lib
[ 59% 60189/101810] target Java source list: Calendar
[ 59% 60190/101810] target R.java/Manifest.java: framework-res__auto_generated_rro (out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/src/R.stamp)
FAILED: out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/src/R.stamp out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt.srcjar
/bin/bash -c "(rm -rf out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/src/R.stamp && mkdir -p out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/src/ ) && (mkdir -p out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/ ) && (rm -rf out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt ) && (mkdir -p out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt ) && (ASAN_OPTIONS=detect_leaks=0 out/host/linux-x86/bin/aapt package --auto-add-overlay -z -m  -J out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt -M out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/AndroidManifest.xml -P out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/public_resources.xml -S device/sample/overlays/location/frameworks/base/core/res/res -S packages/services/Car/car_product/overlay/frameworks/base/core/res/res -S device/generic/goldfish/overlay/frameworks/base/core/res/res -S device/rockchip/rk3399pro/overlay/frameworks/base/core/res/res -S device/rockchip/rk3399pro/overlay/frameworks/base/core/res/res -S device/rockchip/common/overlay/frameworks/base/core/res/res -S device/rockchip/common/overlay/frameworks/base/core/res/res  -I out/target/common/obj/APPS/framework-res_intermediates/package-export.apk -I out/target/common/obj/APPS/framework-res_intermediates/package-export.apk -G out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/proguard_options --min-sdk-version 28 --target-sdk-version 28 --version-code 28 --version-name 9   --skip-symbols-without-default-localization ) && (out/soong/host/linux-x86/bin/soong_zip -o out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt.srcjar -C out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt -D out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt ) && (echo device/sample/overlays/location/frameworks/base/core/res/res/values/config.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/anim/fade_in.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/anim/fade_out.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable-night-nodpi/default_wallpaper.png packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable-sw600dp-night/default_wallpaper.png packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.png packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable-sw720dp-night/default_wallpaper.png packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.png packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable/dialog_button_background.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable/ic_account_circle.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable/ic_collapse_notification.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable/ic_expand_notification.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable/notification_action_bg.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/drawable/round_corner.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/layout/alert_dialog_button_bar_material.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/layout/alert_dialog_material.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/layout/alert_dialog_title_material.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/layout/notification_material_action.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/layout/notification_material_media_action.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/layout/notification_template_right_icon.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-h1752dp/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-h600dp/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-night/colors.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-sw900dp/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-w1280dp/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-w1920dp/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-w690dp/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values-w840dp/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/colors.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/config.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/dimens.xml packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml device/generic/goldfish/overlay/frameworks/base/core/res/res/values/config.xml device/rockchip/rk3399pro/overlay/frameworks/base/core/res/res/values/config.xml device/rockchip/rk3399pro/overlay/frameworks/base/core/res/res/values/config.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values-zh-rCN/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values-zh-rHK/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values-zh-rTW/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values/config.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/xml/power_profile.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values-zh-rCN/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values-zh-rHK/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values-zh-rTW/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values/config.xml device/rockchip/common/overlay/frameworks/base/core/res/res/values/strings.xml device/rockchip/common/overlay/frameworks/base/core/res/res/xml/power_profile.xml >/dev/null ) && (for GENERATED_MANIFEST_FILE in \`find out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt -name Manifest.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}' \$GENERATED_MANIFEST_FILE\`; mkdir -p out/target/common/R/\$dir; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_MANIFEST_FILE out/target/common/R/\$dir; done ) && (for GENERATED_R_FILE in \`find out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/aapt -name R.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}' \$GENERATED_R_FILE\`; mkdir -p out/target/common/R/\$dir; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILEout/target/common/R/\$dir || exit 31; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILE out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/src/R.stamp || exit 32; done ) && (touch out/target/common/obj/APPS/framework-res__auto_generated_rro_intermediates/src/R.stamp )"
packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'TextAppearance'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:20: error: Error: No resource found that matches the given name: attr 'fontFamily'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:21: error: Error: No resource found that matches the given name: attr 'textSize'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:27: error: Error retrieving parent for item: No resource found that matches the given name 'Animation'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:31: error: Error: No resource found that matches the given name: attr 'activityCloseEnterAnimation'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:32: error: Error: No resource found that matches the given name: attr 'activityCloseExitAnimation'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:28: error: Error: No resource found that matches the given name: attr 'activityOpenEnterAnimation'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:29: error: Error: No resource found that matches the given name: attr 'activityOpenExitAnimation'.

packages/services/Car/car_product/overlay/frameworks/base/core/res/res/values/styles.xml:62: error: Error: No resource found that matches the given name: attr 'fragmentCloseEnterAnimation'.




tchip_askquestions

build.log.zip

6.68 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1


作者: fchen    时间: 2022-8-31 22:20
顶起来,盼回复




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1