年华里谁在叹息 2018-01-15 02:45 采纳率: 40%
浏览 1502
已采纳

好像是JVM内存所引起的问题,请大神们看下。

错误如下:
图片说明
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/3.3/userguide/gradle_daemon.html

Please read the following process output to find out more:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

请问这个怎么解决呢?非常感谢

  • 写回答

10条回答 默认 最新

  • mianchui2288 2018-01-16 03:05
    关注

    1.改org.gradle.jvmargs=-Xmx512m;
    2.删除.gradle;
    3.降低jdk版本或者gradle版本;
    4.重装android studio;
    5.关了防火墙和卸载所有杀毒软件;
    然而上面的方法一点鸟用都没有,相信我。
    这个是因为防火墙拦截了,这种情况要关防火墙和卸载杀毒软件,但还是有可以会拦截,所以最好的方法是重装系统。(我自己折腾了两天,最后用了两个小时重装系统好了)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(9条)

报告相同问题?