(已解决)Android Studio JVM报错解决方案

编程知识 更新时间:2023-05-02 19:08:52

异常:

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/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

解决方案:

在gradle.properties中添加或者修改为:

org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m

更多推荐

(已解决)Android Studio JVM报错解决方案

本文发布于:2023-04-28 04:49:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/60a71e0d972aad47474239173fdab490.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报错   解决方案   Android   Studio   JVM

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 107725文章数
  • 27241阅读数
  • 0评论数