簡體   English   中英

FAILURE:構建失敗並出現異常。 Cordova

[英]FAILURE: Build failed with an exception. Cordova

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/7.5/userguide/gradle_daemon.html
Process command line: C:\Program Files (x86)\Java\jdk1.8.0_341\bin\java.exe -Xmx2048m -Dfile.encoding=windows-1252 -Duser.country=IN -Duser.language=en -Duser.variant -cp C:\Users\ASUS\Downloads\gradle-7.5-bin\gradle-7.5\lib\gradle-launcher-7.5.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.5
Please read the following process output to find out more:

Error occurred during initialization of VM
Could not reserve enough space for 2097152KB 

object 堆

這是許多不同解決方案的常見問題。 由於其中一些可能難以實現,我認為最簡單的方法是將以下內容添加到您的系統變量中:

變量名: _JAVA_OPTIONS

變量值: -Xmx1024M

希望它會有所幫助

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM