我正在研究離子應用。我在嘗試爲android構建時遇到錯誤。Ionic構建Android時出錯?
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 guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
能你請檢查你是否安裝了「java」,並且驅動器上有足夠的可用空間? –
我已經安裝了Android Studio和JRE,我們還需要什麼 – RaviMittal
根據我的知識,沒有必要爲離子應用程序提供Android Studio,我們只需要android sdk。 –