【发布时间】:2016-10-21 08:42:21
【问题描述】:
我正面临 android studio 的问题。我昨天将android studio更新到了2.2.2。现在我无法创建新项目。当我创建一个时,我发现了这些错误。 旧项目正在运行。
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
我正在使用“jdk1.8.0_101”。
我已经尝试了所有可能的堆栈溢出解决方案,但没有发现任何有用的解决方案。
注意:请不要将其标记为重复问题。我已全部阅读,并尝试了几乎所有给定的解决方案。
我尝试过的一些解决方案
- 从用户目录中删除了 .gradle 文件。 (C:\user...gradle)。
- 未安装的 android studio.. 再次重新安装。
- 为 gradle 添加了最大大小....
- 在 settings\compiler\vm 选项中添加。
- 缓存重启。
【问题讨论】:
-
增加
HeapSize. -
@IntelliJAmiya 做到了.. 不走运:(
-
for test case call downgrade vesion
jdk1.8.0_92 -
“几乎所有”?
-
尝试删除你的 gradle.properties
标签: android android-studio gradle android-gradle-plugin