Firefly开源社区

打印 上一主题 下一主题

[Android] ROC-RK3399-PC Pro安卓编译失败

26

积分

0

威望

0

贡献

技术小白

积分
26

ROC-RK3399-PC Pro安卓编译失败

发表于 2021-12-28 10:13:59      浏览:2197 | 回复:1        打印      只看该作者   [复制链接] 楼主
1. https://www.t-firefly.com/doc/download/145.html下载Android 7.1 industry SDK源码
2. 解压firefly_rk3399_industry7.1_git_20211216目录里代码
3. git clone https://gitlab.com/TeeFirefly/rk3399-industry-nougat-bundle.git .bundle 同步代码
4、./FFTools/make.sh -d rk3399-roc-pc-plus -j8 -l rk3399_roc_pc_plus-userdebug 编译
5、编译失败,报以下错误:AILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[  0% 69/49839] target Java: libprotob...tobuf-java-nano_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[  0% 69/49839] target Java: conscrypt...ARIES/conscrypt_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
回复

使用道具 举报

82

积分

0

威望

0

贡献

技术小白

积分
82
发表于 2022-1-1 09:50:57        只看该作者  沙发
下载了源码后,是否在源码目录执行了以下git命令
  1. git reset --hard
复制代码
  1. git rebase FETCH_HEAD
复制代码

bundle的update是否执行了
  1. .bundle/update
复制代码
回复

使用道具 举报

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

本版积分规则

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