gpt4 book ai didi

android - "Error:Failed to complete Gradle execution. Cause: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)"

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:19:14 31 4
gpt4 key购买 nike

我的 android studio 开始卡住,所以我使用任务管理器终止了任务,当我重新打开 android studio 时,我收到了这个错误:

Error:Failed to complete Gradle execution. Cause: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

我尝试清理和重建 gradle,关闭并重新打开 android,但它并没有消失。堆栈溢出的主要答案似乎有过时的答案,可以点击不再存在的东西,例如 Settings-->Gradle-->GradleVM options

最佳答案

我从信息问题跟踪器解决了它发生在 android 3.0 canary 4

  1. 转到 gradle.properties
  2. 添加此代码 android.enableAapt2=false

关于android - "Error:Failed to complete Gradle execution. Cause: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41684610/

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