I’ve just downloaded the latest version of Solar2d and tried to generate an.apk for the Hello World Sample app.
The build is failing with the following:
Process command line: C:\Program Files (x86)\Corona Labs\Corona\jre\bin\java.exe -Xmx1G -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\Norman\.gradle\wrapper\dists\gradle-6.5.1-all\cdund22i8guosqylfo49op4dv\gradle-6.5.1\lib\gradle-launcher-6.5.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.5.1
10:17:14.011 Please read the following process output to find out more:
10:17:14.011 -----------------------
10:17:14.011 Error occurred during initialization of VM
10:17:14.011 **Could not reserve enough space for 1048576KB object heap**
10:17:14.011 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
I’m running Windows. This same Windows machine was able to build an .apk file about a year ago without issue.
I only have 8GB RAM on my Windows. I know it’s not much these days but could this be the problem?
And is it possible to change the -Xmx1G Java option above?