我最近开始学习并尝试开发android应用。(总初学者,即时通讯处于“Hello Word”阶段)
但是android studio总是遇到错误。
这是我开始新项目时遇到的错误。
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 heap
我无法找到解决方法。
最佳答案
您需要将graddle.properties文件更改为Xmx1024m
您可以在此视频中找到解决方案
https://www.youtube.com/watch?v=hT3sHXVWjIU
关于android-studio - Android Studio错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40570272/