Firefly开源社区

打印 上一主题 下一主题

[Android] AIO-3399ProC系统定制问题-automotive

16

积分

0

威望

0

贡献

技术小白

积分
16

AIO-3399ProC系统定制问题-automotive

发表于 2022-8-8 16:32:59      浏览:5164 | 回复:1        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
希望基于“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'.




build.log.zip

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

回复

使用道具 举报

16

积分

0

威望

0

贡献

技术小白

积分
16
发表于 2022-8-31 22:20:03        只看该作者  沙发
顶起来,盼回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表