TTTD20190301 发表于 2021-11-15 15:02:29

AIO-3399ProC编译9.0源码失败(压缩包方式)

本帖最后由 TTTD20190301 于 2021-11-15 15:42 编辑

官网下载android9.0源码包

1 校验
$ md5sum /path/to/rk3399pro_firefly_android9.0_20191126.7z.001
$ md5sum /path/to/rk3399pro_firefly_android9.0_20191126.7z.002

6e1d3969c8a0f643522727ff07800bb5rk3399pro_firefly_android9.0_20191126.7z.001
a6b8d6a775c3d5ed28f4d41cb210a84drk3399pro_firefly_android9.0_20191126.7z.002

2,解压
cd ~/proj/
7z x ./rk3399pro_firefly_android9.0_20191126.7z.001 -oAIO-3399Pro
cd ./AIO-3399Pro
git reset --hard
正常
==============================================
3,HDMI显示编译
./FFTools/make.sh-d rk3399pro-firefly-aioc -j8 -l rk3399pro_firefly_aioc-userdebug

编程出错如下




zhansb 发表于 2021-11-16 18:02:22

bundle更新一下SDK

aa5956 发表于 2021-11-26 09:53:23

我也是遇到同样问题。如果不在论坛里面找。也不知道原因。第一反应是既然是发布的资料包,应该不会存在这种编译失败的低级错误。
不得不吐槽一下。既然是官方发布的资源,官方发布的资料没有经过充分的验证就发布了。这是一种不负责任的行为。
另外,既然发现了有问题。也可以及时更新wifi的教程提醒一下如果编译失败需要更新bundle。
不然技术支持一直要回答编译失败的问题。同时用户对你们公司也会有看法。
@社区版主

Mike123 发表于 2022-4-21 22:05:31

[ 60% 46911/78034] //bionic/libc:libc....ndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 60% 46912/78034] //bionic/libc:commo...ioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 60% 46913/78034] //bionic/libc:libc.llndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 60% 46914/78034] //libcore:core-oj javac
ninja: build stopped: subcommand failed.
22:26:25 ninja failed with: exit status 1
更新后,我这里执行 ./FFTools/make.sh-d rk3399pro-firefly-aioc -j8 -l rk3399pro_firefly_aioc-userdebug, 报上述错误,请帮忙看下原因;

Mike123 发表于 2022-4-21 22:09:30

[ 60% 46907/78034] build out/target/co...ntermediates/dex-hiddenapi/classes.dex
FAILED: out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/classes.dex
/bin/bash -c "(rm -rf out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (mkdir -p out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex/ -maxdepth 1 -name \"classes*.dex\" | sort | xargs -I{} cp -f {} out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ -name \"classes*.dex\" | sort | sed 's/^/--dex=/' | xargs out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt )"
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47] No DEX files specified
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47] Command: out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47] Usage: hiddenapi ...
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]   --dex=<filename>: specify dex file whose members' access flags are to be set.
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]       At least one --dex parameter must be specified.
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]   --light-greylist=<filename>:
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]   --dark-greylist=<filename>:
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]   --blacklist=<filename>: text files with signatures of methods/fields to be marked
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]       greylisted/blacklisted respectively. At least one list must be provided.
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]   --print-hidden-api: dump a list of marked methods/fields to the standard output.
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]       There is no indication which API category they belong to.
hiddenapi E 04-20 22:26:12 182044 182044 hiddenapi.cc:47]
[ 60% 46911/78034] //bionic/libc:libc....ndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 60% 46912/78034] //bionic/libc:commo...ioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 60% 46913/78034] //bionic/libc:libc.llndk versioner preprocess include
warning: attempted to generate guard with empty availability: obsoleted = 21
warning: attempted to generate guard with empty availability: obsoleted = 23
[ 60% 46914/78034] //libcore:core-oj javac
ninja: build stopped: subcommand failed.
22:26:25 ninja failed with: exit status 1
页: [1]
查看完整版本: AIO-3399ProC编译9.0源码失败(压缩包方式)