本文转载自: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$
所有评论(0)