android7.1编译错误flex-2.5.39: :130:_nl_intern_locale_data:

时间:2025-01-31 07:51:56

报错如下
flex-2.5.39: :130:_nl_intern_locale_data: ?? ‘cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))’ ???
Aborted (core dumped)
[ 4% 4832/99272] target C++: libapplypatch <= bootable/recovery/applypatch/

解决办法:
在~/.bashrc最后添加export LC_ALL=C
然后 source ~/.bashrc
解答: 添加export LC_ALL=C是去除本地C化,使得Android的编译工具与本地工具不冲突。