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/4.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
版本2.3.3  将Android Studio 删了重下仍然有这种错误。
配置gradle priority 或者VM options  都不行  .....‘求助求助求助!!!

解决方案 »

  1.   

    gradle.properties的内容发下看看
      

  2.   

    # Project-wide Gradle settings.# IDE (e.g. Android Studio) users:
    # Gradle settings configured through the IDE *will override*
    # any settings specified in this file.# For more details on how to configure your build environment visit
    # http://www.gradle.org/docs/current/userguide/build_environment.html# Specifies the JVM arguments used for the daemon process.
    # The setting is particularly useful for tweaking memory settings.
    # When configured, Gradle will run in incubating parallel mode.
    # This option should only be used with decoupled projects. More details, visit
    # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
    # org.gradle.parallel=true
    org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
    org.gradle.parallel=true
    这是gradle.properties    的配置信息
    不好意思,因为还是学生,白天上课 晚上才看到,回复比较晚...
    有可能是电脑原因吗?我有一次在用Android Studio打代码的时候死机直接按电源键重启后就出现这种问题了。
      

  3.   

    这个gradle.properties    最后两行是被我加上去的  原来是org.gradle.jvmargs=-Xmx1524m
      

  4.   

    Please read the following process output to find out more:
    -----------------------
    下面应该还有一段最关键的信息,发来看看。
    或者在org.gradle.parallel=true前加上org.gradle.daemon=true
    试试
      

  5.   

    有可能是JDK版本问题
      

  6.   

    朋友,问题解决了吗,纠结好几天了现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了
      

  7.   

    朋友,问题解决了吗,纠结好几天了现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了你是哪里的文件被删除了啊,我清理过就出现问题了
      

  8.   

    朋友,问题解决了吗,纠结好几天了现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了你是哪里的文件被删除了啊,我清理过就出现问题了
    C:\ProgramData\Microsoft\Windows\Provider
      

  9.   


    现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了你是哪里的文件被删除了啊,我清理过就出现问题了
    C:\ProgramData\Microsoft\Windows\Provider我找不到具体的问题,
    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.   

    现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了你是哪里的文件被删除了啊,我清理过就出现问题了
    C:\ProgramData\Microsoft\Windows\Provider我找不到具体的问题,
    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
    你先把清理删除的文件全部恢复,不行的话你看看你的gradle.properties中添加了org.gradle.jvmargs=-Xmx1536m这样的字段没有
      

  11.   

    现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了你是哪里的文件被删除了啊,我清理过就出现问题了
    C:\ProgramData\Microsoft\Windows\Provider我找不到具体的问题,
    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
    你先把清理删除的文件全部恢复,不行的话你看看你的gradle.properties中添加了org.gradle.jvmargs=-Xmx1536m这样的字段没有恢复不了了,加上之后OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0这句话就消失了
      

  12.   

    现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了你是哪里的文件被删除了啊,我清理过就出现问题了
    C:\ProgramData\Microsoft\Windows\Provider我找不到具体的问题,
    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
    你先把清理删除的文件全部恢复,不行的话你看看你的gradle.properties中添加了org.gradle.jvmargs=-Xmx1536m这样的字段没有恢复不了了,加上之后OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0这句话就消失了还是想办法恢复吧,如果加上字段后还是不行的话十有八九就是关键文件被删除了的原因
      

  13.   

    引用 15 楼 qq_38012469 的回复:    Quote: 引用 14 楼 sjw389296536 的回复:        Quote: 引用 13 楼 qq_38012469 的回复:        现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了    你是哪里的文件被删除了啊,我清理过就出现问题了 C:\ProgramData\Microsoft\Windows\Provider我找不到具体的问题, 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
    你先把清理删除的文件全部恢复,不行的话你看看你的gradle.properties中添加了org.gradle.jvmargs=-Xmx1536m这样的字段没有恢复不了了,加上之后OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0这句话就消失了还是想办法恢复吧,如果加上字段后还是不行的话十有八九就是关键文件被删除了的原因 
    --------------------------------------------------------------------
    如何恢复关键文件啊?我的C:\ProgramData\Microsoft\Windows 里面根本就无provider的文件。
      

  14.   

    看看电脑管家杀毒是不是杀了。dll文件
      

  15.   

    gradle.properties文件中改成512M就可以了:
    org.gradle.jvmargs=-Xmx512m
      

  16.   

    都没用的,重新装jdk,一定要64位,as里面重新选择jdk路径,这样就可以了