gpt4 book ai didi

android - 从2.2.1升级到2.2.2版本后,Android Studio出现问题

转载 作者:行者123 更新时间:2023-12-03 06:32:46 25 4
gpt4 key购买 nike

我正面临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)。
  • Unistalled android studio ..再次重新安装。
  • 已将最大大小添加到gradle。...
  • 在settings \ compiler \ vm选项中添加了
  • 缓存重新启动。
  • 最佳答案

    最新版本的Android Studio存在一些问题。请删除现有的android-studio并从tools.android.com下载以前的2.2.1版本

    关于android - 从2.2.1升级到2.2.2版本后,Android Studio出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40172079/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com