首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >生成LineageOS时出错:"make:* [ninja_wrapper] Error 1“

生成LineageOS时出错:"make:* [ninja_wrapper] Error 1“
EN

Stack Overflow用户
提问于 2018-04-21 19:09:46
回答 1查看 9.9K关注 0票数 8
代码语言:javascript
运行
复制
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
find: ‘/home/xuanan/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
Starting build with ninja
ninja: Entering directory `.'
[  0% 14/48263] Lex: aidl <= system/tools/aidl/aidl_language_l.ll
FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/xuanan/android/lineage/out/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% 14/48263] 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% 14/48263] target Java: libphonen...number-platform_intermediates/classes)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/xuanan/android/lineage'

我正在尝试为我的设备A6020构建LineageOS。我做了我的设备的官方lineageos构建指南中提到的所有事情。但在构建步骤中,我在进入brunch A6020后不到2分钟就遇到了上述错误。如果有人能帮助我,我将不胜感激,因为这是我的学校项目。英语不是我的主要语言,但我希望你们能理解我。提前谢谢。picture of terminal when encounter error

EN

Stack Overflow用户

回答已采纳

发布于 2018-04-24 23:10:24

这将会起到作用:

代码语言:javascript
运行
复制
export LC_ALL=C

将其添加到您的bashrc文件或等效文件中。

票数 21
EN
查看全部 1 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49955137

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档