0

我一直在通过 Beeware 创建一个移动应用程序。我已经完成了代码部分,现在我必须构建 android。所以我输入了, briefcase build android。该过程开始得很好,但出现异常时会出现错误。

下面是我的 Anaconda Prompt 的控制台输出:

(base) C:\Users\User\Sample\Techpi\Techpi>briefcase build android
[Hello_world] Building Android APK...
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/5.4.1/userguide/gradle_daemon.html
Process command line: C:\Program Files\Java\jdk1.8.0_161\bin\java.exe -Xmx1536m -Dfile.encoding=windows-1252 -Duser.country=IN -Duser.language=en -Duser.variant -cp C:\Users\santh\.gradle\wrapper\dists\gradle-5.4.1-all\3221gyojl5jsh0helicew7rwx\gradle-5.4.1\lib\gradle-launcher-5.4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.4.1
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Error while building project.

我无法解决错误。任何人都可以帮助我吗?

4

0 回答 0