Error occurred during initialization of VM

新安裝的Android Studio建立的工程報錯以下:html

Error: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 https://docs.gradle.org/2.14.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 1572864KB object heapjvm

 

解決方法:
從新設置一下JDK路徑 File->ProjectStruceure->SDK Location 去掉Use embedded JDK(recommended)的勾選,選擇jdk的安裝目錄ide

相關文章
相關標籤/搜索