本文转载自:https://blog.csdn.net/u010684585/article/details/76263317

32 warnings generated.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

1,在jack-admin 中加入了 -Xmx8192m

修改prebuilts/sdk/tools/jack-admin 文件,变量JACK_SERVER_VM_ARGUMENTS,在 -cp 前添加参数 -Xmx8192m

然后重新启动Jack server.

@flm:~/android1/alps/prebuilts/sdk/tools$ ./jack-admin stop-server
Stopping background server
@flm:~/android1/alps/prebuilts/sdk/tools$ 

@flm:~/android1/alps/prebuilts/sdk/tools$ ./jack-admin start-server

Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx8192m -cp /home/archermind/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
@flm:~/android1/alps/prebuilts/sdk/tools$ 

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 5 个月前
2f19d3a0 - 5 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐