ninja build stopped subcommand failed
ninja
a small build system with a focus on speed
项目地址:https://gitcode.com/gh_mirrors/ni/ninja
免费下载资源
·
Android8.1.0 源码编译错误
ninja: build stopped: subcommand failed
.build/core/ninja.mk:148: recipe for target ‘ninja_wrapper’ failed
make: *** [ninja_wrapper] Error
解决办法:
1、打开prebuilts/sdk/tools/jack-admin 文件,找到JACK_SERVER_VM_ARGUMENTS变量,添加参数 -Xmx8192m,
添加后效果:
JACK_SERVER_VM_ARGUMENTS="${JACK_SERVER_VM_ARGUMENTS:=-Dfile.encoding=UTF-8 - XX:+TieredCompilation -Xmx8192m}"
2、然后重新启动Jack server
prebuilts/sdk/tools$ ./jack-admin stop-server
prebuilts/sdk/tools$ ./jack-admin start-server
GitHub 加速计划 / ni / ninja
4
0
下载
a small build system with a focus on speed
最近提交(Master分支:3 个月前 )
048a68df
Use Lowercase Headers for Cross-Compiling Windows Targets 7 天前
cc4ce1f9
This update ensures consistency in using lowercase headers across the
codebase for cross-compiling Windows targets.
10 天前
更多推荐
已为社区贡献5条内容
所有评论(0)