本文轉載自:https://blog.csdn.net/u010684585/article/details/76263317java
32 warnings generated.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1android
1,在jack-admin 中加入了 -Xmx8192mapp
修改prebuilts/sdk/tools/jack-admin 文件,變量JACK_SERVER_VM_ARGUMENTS,在 -cp 前添加參數 -Xmx8192mui
而後從新啓動Jack server.spa
@flm:~/android1/alps/prebuilts/sdk/tools$ ./jack-admin stop-server
Stopping background server
@flm:~/android1/alps/prebuilts/sdk/tools$ .net
@flm:~/android1/alps/prebuilts/sdk/tools$ ./jack-admin start-serverserver
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$ blog