当前位置: 代码迷 >> 综合 >> RK PX30 make clean清android之后再次编译andriod报错
  详细解决方案

RK PX30 make clean清android之后再次编译andriod报错

热度:45   发布时间:2023-12-15 14:16:44.0

使用make clean 命令清Android之后,再次编译Android8.1源码遇到一个问题:

FAILED: out/target/product/generic/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp 
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/target/product/generic/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.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)
[  5% 3239/63193] target StaticLib: li...IES/libv8src_intermediates/libv8src.a)
ninja: build stopped: subcommand failed.
14:04:56 ninja failed with: exit status 1

解决方案:
make之前调用执行export LC_ALL=C

px30_android8.1$ export LC_ALL=C

执行之后再次编译android就解决问题了
真心累啊,这鬼东西…
在这里插入图片描述

  相关解决方案