Firefly开源社区

打印 上一主题 下一主题

[Android] 编译失败

4

积分

0

威望

0

贡献

吃瓜的群众

积分
4

编译失败

发表于 2023-2-13 15:46:12      浏览:5164 | 回复:0        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
rk3568源码编译,大家有遇到过这个问题吗,怎么解决呢

Environment variable DIST was set, regenerating...
[  7% 9/123] XYConnector dexpreopt
FAILED: out/target/product/rk3568_r/obj/APPS/XYConnector_intermediates/dexpreopt.zip
/bin/bash -c "bash out/target/product/rk3568_r/obj/APPS/XYConnector_intermediates/dexpreopt.sh vendor/nemo/systemosdependencies/NE98/sysa            pp/XYConnector/XYConnector.apk out/target/product/rk3568_r/obj/APPS/XYConnector_intermediates/dexpreopt.zip"
dex2oatd64 E 02-13 02:22:09   248   248 oat_writer.cc:575] Expected valid zip or dex file: '/system/app/XYConnector/XYConnector.apk'
error: out/target/product/rk3568_r/obj/APPS/XYConnector_intermediates/dexpreopt.sh:23 exited with status 1
error in command:
ANDROID_LOG_TAGS="*:e" out/soong/host/linux-x86/bin/dex2oatd64 --avoid-storing-invocation --write-invocation-to=out/target/product/rk3568            _r/obj/APPS/XYConnector_intermediates/oat/arm/package.invocation --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -Xbootclasspa            th:out/soong/rk3568_r/dex_artjars_input/core-oj.jar:out/soong/rk3568_r/dex_artjars_input/core-libart.jar:out/soong/rk3568_r/dex_artjars_i            nput/core-icu4j.jar:out/soong/rk3568_r/dex_artjars_input/okhttp.jar:out/soong/rk3568_r/dex_artjars_input/bouncycastle.jar:out/soong/rk356            8_r/dex_artjars_input/apache-xml.jar:out/soong/rk3568_r/dex_bootjars_input/framework.jar:out/soong/rk3568_r/dex_bootjars_input/ext.jar:ou            t/soong/rk3568_r/dex_bootjars_input/telephony-common.jar:out/soong/rk3568_r/dex_bootjars_input/voip-common.jar:out/soong/rk3568_r/dex_boo            tjars_input/ims-common.jar:out/soong/rk3568_r/dex_bootjars_input/framework-atb-backward-compatibility.jar --runtime-arg -Xbootclasspath-l            ocations:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j            .jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar            :/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/syst            em/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar ${class_loader_context_arg} ${stored_class_loader_            context_arg} --boot-image=out/soong/rk3568_r/dex_artjars/apex/com.android.art/javalib/boot.art:out/soong/rk3568_r/dex_bootjars/system/fra            mework/boot-framework.art --dex-file=$1 --dex-location=/system/app/XYConnector/XYConnector.apk --oat-file=out/target/product/rk3568_r/obj            /APPS/XYConnector_intermediates/oat/arm/package.odex --android-root=out/empty --instruction-set=arm --instruction-set-variant=cortex-a55             --instruction-set-features=default --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-i            nline-from=core-oj.jar --copy-dex-files=false --compiler-filter=quicken --generate-mini-debug-info --compilation-reason=prebuilt
[  8% 10/123] XYLauncher dexpreopt
FAILED: out/target/product/rk3568_r/obj/APPS/XYLauncher_intermediates/dexpreopt.zip
/bin/bash -c "bash out/target/product/rk3568_r/obj/APPS/XYLauncher_intermediates/dexpreopt.sh vendor/nemo/systemosdependencies/NE98/sysap            p/XYLauncher/XYLauncher.apk out/target/product/rk3568_r/obj/APPS/XYLauncher_intermediates/dexpreopt.zip"
dex2oatd64 E 02-13 02:22:09   260   260 oat_writer.cc:575] Expected valid zip or dex file: '/system/app/XYLauncher/XYLauncher.apk'
error: out/target/product/rk3568_r/obj/APPS/XYLauncher_intermediates/dexpreopt.sh:23 exited with status 1
error in command:
ANDROID_LOG_TAGS="*:e" out/soong/host/linux-x86/bin/dex2oatd64 --avoid-storing-invocation --write-invocation-to=out/target/product/rk3568            _r/obj/APPS/XYLauncher_intermediates/oat/arm/package.invocation --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -Xbootclasspat            h:out/soong/rk3568_r/dex_artjars_input/core-oj.jar:out/soong/rk3568_r/dex_artjars_input/core-libart.jar:out/soong/rk3568_r/dex_artjars_in            put/core-icu4j.jar:out/soong/rk3568_r/dex_artjars_input/okhttp.jar:out/soong/rk3568_r/dex_artjars_input/bouncycastle.jar:out/soong/rk3568            _r/dex_artjars_input/apache-xml.jar:out/soong/rk3568_r/dex_bootjars_input/framework.jar:out/soong/rk3568_r/dex_bootjars_input/ext.jar:out            /soong/rk3568_r/dex_bootjars_input/telephony-common.jar:out/soong/rk3568_r/dex_bootjars_input/voip-common.jar:out/soong/rk3568_r/dex_boot            jars_input/ims-common.jar:out/soong/rk3568_r/dex_bootjars_input/framework-atb-backward-compatibility.jar --runtime-arg -Xbootclasspath-lo            cations:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.            jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:            /system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/syste            m/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar ${class_loader_context_arg} ${stored_class_loader_c            ontext_arg} --boot-image=out/soong/rk3568_r/dex_artjars/apex/com.android.art/javalib/boot.art:out/soong/rk3568_r/dex_bootjars/system/fram            ework/boot-framework.art --dex-file=$1 --dex-location=/system/app/XYLauncher/XYLauncher.apk --oat-file=out/target/product/rk3568_r/obj/AP            PS/XYLauncher_intermediates/oat/arm/package.odex --android-root=out/empty --instruction-set=arm --instruction-set-variant=cortex-a55 --in            struction-set-features=default --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-inlin            e-from=core-oj.jar --copy-dex-files=false --compiler-filter=quicken --generate-mini-debug-info --compilation-reason=prebuilt
[  8% 11/123] XYNetwork dexpreopt
FAILED: out/target/product/rk3568_r/obj/APPS/XYNetwork_intermediates/dexpreopt.zip
/bin/bash -c "bash out/target/product/rk3568_r/obj/APPS/XYNetwork_intermediates/dexpreopt.sh vendor/nemo/systemosdependencies/NE98/sysapp            /XYNetwork/XYNetwork.apk out/target/product/rk3568_r/obj/APPS/XYNetwork_intermediates/dexpreopt.zip"
dex2oatd64 E 02-13 02:22:09   239   239 oat_writer.cc:575] Expected valid zip or dex file: '/system/app/XYNetwork/XYNetwork.apk'
error: out/target/product/rk3568_r/obj/APPS/XYNetwork_intermediates/dexpreopt.sh:23 exited with status 1
error in command:
ANDROID_LOG_TAGS="*:e" out/soong/host/linux-x86/bin/dex2oatd64 --avoid-storing-invocation --write-invocation-to=out/target/product/rk3568            _r/obj/APPS/XYNetwork_intermediates/oat/arm/package.invocation --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -Xbootclasspath            :out/soong/rk3568_r/dex_artjars_input/core-oj.jar:out/soong/rk3568_r/dex_artjars_input/core-libart.jar:out/soong/rk3568_r/dex_artjars_inp            ut/core-icu4j.jar:out/soong/rk3568_r/dex_artjars_input/okhttp.jar:out/soong/rk3568_r/dex_artjars_input/bouncycastle.jar:out/soong/rk3568_            r/dex_artjars_input/apache-xml.jar:out/soong/rk3568_r/dex_bootjars_input/framework.jar:out/soong/rk3568_r/dex_bootjars_input/ext.jar:out/            soong/rk3568_r/dex_bootjars_input/telephony-common.jar:out/soong/rk3568_r/dex_bootjars_input/voip-common.jar:out/soong/rk3568_r/dex_bootj            ars_input/ims-common.jar:out/soong/rk3568_r/dex_bootjars_input/framework-atb-backward-compatibility.jar --runtime-arg -Xbootclasspath-loc            ations:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.j            ar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/            system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system            /framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar ${class_loader_context_arg} ${stored_class_loader_co            ntext_arg} --boot-image=out/soong/rk3568_r/dex_artjars/apex/com.android.art/javalib/boot.art:out/soong/rk3568_r/dex_bootjars/system/frame            work/boot-framework.art --dex-file=$1 --dex-location=/system/app/XYNetwork/XYNetwork.apk --oat-file=out/target/product/rk3568_r/obj/APPS/            XYNetwork_intermediates/oat/arm/package.odex --android-root=out/empty --instruction-set=arm --instruction-set-variant=cortex-a55 --instru            ction-set-features=default --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-inline-fr            om=core-oj.jar --copy-dex-files=false --compiler-filter=quicken --generate-mini-debug-info --compilation-reason=prebuilt
[  9% 12/123] XYPinyinIME dexpreopt
FAILED: out/target/product/rk3568_r/obj/APPS/XYPinyinIME_intermediates/dexpreopt.zip
/bin/bash -c "bash out/target/product/rk3568_r/obj/APPS/XYPinyinIME_intermediates/dexpreopt.sh vendor/nemo/systemosdependencies/NE98/sysa            pp/XYPinyinIME/XYPinyinIME.apk out/target/product/rk3568_r/obj/APPS/XYPinyinIME_intermediates/dexpreopt.zip"
dex2oatd64 E 02-13 02:22:09   231   231 oat_writer.cc:575] Expected valid zip or dex file: '/system/app/XYPinyinIME/XYPinyinIME.apk'
error: out/target/product/rk3568_r/obj/APPS/XYPinyinIME_intermediates/dexpreopt.sh:23 exited with status 1
error in command:
ANDROID_LOG_TAGS="*:e" out/soong/host/linux-x86/bin/dex2oatd64 --avoid-storing-invocation --write-invocation-to=out/target/product/rk3568            _r/obj/APPS/XYPinyinIME_intermediates/oat/arm/package.invocation --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -Xbootclasspa            th:out/soong/rk3568_r/dex_artjars_input/core-oj.jar:out/soong/rk3568_r/dex_artjars_input/core-libart.jar:out/soong/rk3568_r/dex_artjars_i            nput/core-icu4j.jar:out/soong/rk3568_r/dex_artjars_input/okhttp.jar:out/soong/rk3568_r/dex_artjars_input/bouncycastle.jar:out/soong/rk356            8_r/dex_artjars_input/apache-xml.jar:out/soong/rk3568_r/dex_bootjars_input/framework.jar:out/soong/rk3568_r/dex_bootjars_input/ext.jar:ou            t/soong/rk3568_r/dex_bootjars_input/telephony-common.jar:out/soong/rk3568_r/dex_bootjars_input/voip-common.jar:out/soong/rk3568_r/dex_boo            tjars_input/ims-common.jar:out/soong/rk3568_r/dex_bootjars_input/framework-atb-backward-compatibility.jar --runtime-arg -Xbootclasspath-l            ocations:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j            .jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar            :/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/syst            em/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar ${class_loader_context_arg} ${stored_class_loader_            context_arg} --boot-image=out/soong/rk3568_r/dex_artjars/apex/com.android.art/javalib/boot.art:out/soong/rk3568_r/dex_bootjars/system/fra            mework/boot-framework.art --dex-file=$1 --dex-location=/system/app/XYPinyinIME/XYPinyinIME.apk --oat-file=out/target/product/rk3568_r/obj            /APPS/XYPinyinIME_intermediates/oat/arm/package.odex --android-root=out/empty --instruction-set=arm --instruction-set-variant=cortex-a55             --instruction-set-features=default --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-i            nline-from=core-oj.jar --copy-dex-files=false --compiler-filter=quicken --generate-mini-debug-info --compilation-reason=prebuilt
[ 10% 13/123] XYSysService dexpreopt


build_error.txt

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

回复

使用道具 举报

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

本版积分规则

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