问题1
----------------------- Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.
解决方案:
修改为
args.push('-Dorg.gradle.jvmargs=-Xmx256m');