生成android应用包:
Running command: cmd "/s /c "D:\WeX5_V3.7\model\Native\ee\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline""
ANDROID_HOME=D:\WeX5_V3.7\tools\adt-sdk
JAVA_HOME=D:\WeX5_V3.7\java\jre1.8
Running: D:\WeX5_V3.7\model\Native\ee\build\src\platforms\android\gradlew cdvBuildRelease -b D:\WeX5_V3.7\model\Native\ee\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid initial heap size: -Xms5000m
The specified size exceeds the maximum representable size.
我没有设置 java的虚拟机内存啊。