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
10.88 K
1.57 K
下载
a small build system with a focus on speed
最近提交(Master分支:2 个月前 )
dcefb838
Fix typo: Explaantions -> Explanations 4 个月前
2f19d3a0 - 4 个月前
更多推荐
已为社区贡献5条内容
所有评论(0)