求助帖!Error:Unable to start the daemon process.

Mr_Ane 2017-12-05 08:09:53
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 都不行 .....‘

求助求助求助!!!
...全文
2667 21 打赏 收藏 转发到动态 举报
写回复
用AI写文章
21 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
都没用的,重新装jdk,一定要64位,as里面重新选择jdk路径,这样就可以了
幸福锌蔚 2018-12-06
  • 打赏
  • 举报
回复
gradle.properties文件中改成512M就可以了:
org.gradle.jvmargs=-Xmx512m
qq_27535149 2018-04-02
  • 打赏
  • 举报
回复
看看电脑管家杀毒是不是杀了。dll文件
Lilyli100 2018-01-17
  • 打赏
  • 举报
回复
引用 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的文件。
wkp111 2018-01-15
  • 打赏
  • 举报
回复
有可能是JDK版本问题
sjw389296536 2018-01-15
  • 打赏
  • 举报
回复
引用 5 楼 qq_37609332 的回复:
解决这个问题没有, 怎么解决能帮助一下吗
朋友,问题解决了吗,纠结好几天了
半黑半百 2018-01-15
  • 打赏
  • 举报
回复
好吧,感谢老铁。
sjw389296536 2018-01-15
  • 打赏
  • 举报
回复
引用 15 楼 qq_38012469 的回复:
引用 14 楼 sjw389296536 的回复:
引用 13 楼 qq_38012469 的回复:
现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了
你是哪里的文件被删除了啊,我清理过就出现问题了
C:\ProgramData\Microsoft\Windows\Provider[/quote]我找不到具体的问题, 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 [/quote]你先把清理删除的文件全部恢复,不行的话你看看你的gradle.properties中添加了org.gradle.jvmargs=-Xmx1536m这样的字段没有[/quote]恢复不了了,加上之后OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0这句话就消失了[/quote]还是想办法恢复吧,如果加上字段后还是不行的话十有八九就是关键文件被删除了的原因
半黑半百 2018-01-15
  • 打赏
  • 举报
回复
引用 14 楼 sjw389296536 的回复:
引用 13 楼 qq_38012469 的回复:
现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了
你是哪里的文件被删除了啊,我清理过就出现问题了 [/quote]C:\ProgramData\Microsoft\Windows\Provider[/quote]我找不到具体的问题, 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 [/quote]你先把清理删除的文件全部恢复,不行的话你看看你的gradle.properties中添加了org.gradle.jvmargs=-Xmx1536m这样的字段没有[/quote]恢复不了了,加上之后OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0这句话就消失了
sjw389296536 2018-01-15
  • 打赏
  • 举报
回复
引用 13 楼 qq_38012469 的回复:
现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了[/quote]你是哪里的文件被删除了啊,我清理过就出现问题了 [/quote]C:\ProgramData\Microsoft\Windows\Provider[/quote]我找不到具体的问题, 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 [/quote]你先把清理删除的文件全部恢复,不行的话你看看你的gradle.properties中添加了org.gradle.jvmargs=-Xmx1536m这样的字段没有
半黑半百 2018-01-15
  • 打赏
  • 举报
回复
[/quote]现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了[/quote]你是哪里的文件被删除了啊,我清理过就出现问题了 [/quote]C:\ProgramData\Microsoft\Windows\Provider[/quote]我找不到具体的问题, 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
sjw389296536 2018-01-15
  • 打赏
  • 举报
回复
引用 11 楼 qq_38012469 的回复:
引用 10 楼 sjw389296536 的回复:
引用 8 楼 sjw389296536 的回复:
引用 5 楼 qq_37609332 的回复:
解决这个问题没有, 怎么解决能帮助一下吗
朋友,问题解决了吗,纠结好几天了
现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了
你是哪里的文件被删除了啊,我清理过就出现问题了
C:\ProgramData\Microsoft\Windows\Provider
半黑半百 2018-01-15
  • 打赏
  • 举报
回复
引用 10 楼 sjw389296536 的回复:
引用 8 楼 sjw389296536 的回复:
引用 5 楼 qq_37609332 的回复:
解决这个问题没有, 怎么解决能帮助一下吗
朋友,问题解决了吗,纠结好几天了
现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了
你是哪里的文件被删除了啊,我清理过就出现问题了
sjw389296536 2018-01-15
  • 打赏
  • 举报
回复
引用 8 楼 sjw389296536 的回复:
引用 5 楼 qq_37609332 的回复:
解决这个问题没有, 怎么解决能帮助一下吗
朋友,问题解决了吗,纠结好几天了
现在好了,我找到了被电脑管家偷偷删了的dll文件然后恢复,现在可以正常使用了
请叫我Rob 2018-01-12
  • 打赏
  • 举报
回复
我也遇到同样的 问题 有解决的思路了吗?
sjw389296536 2018-01-12
  • 打赏
  • 举报
回复
我也是这样,怎么配置都没用,求大神解答啊
王咸鱼 2018-01-07
  • 打赏
  • 举报
回复
解决这个问题没有, 怎么解决能帮助一下吗
jklwan 2017-12-07
  • 打赏
  • 举报
回复
Please read the following process output to find out more: ----------------------- 下面应该还有一段最关键的信息,发来看看。 或者在org.gradle.parallel=true前加上org.gradle.daemon=true 试试
jklwan 2017-12-06
  • 打赏
  • 举报
回复
gradle.properties的内容发下看看
Mr_Ane 2017-12-06
  • 打赏
  • 举报
回复
这个gradle.properties    最后两行是被我加上去的 原来是org.gradle.jvmargs=-Xmx1524m 
加载更多回复(1)

80,349

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧