gpt4 book ai didi

flutter : any Solution to this Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'

转载 作者:行者123 更新时间:2023-12-04 04:17:43 24 4
gpt4 key购买 nike

正在 Debug模式下在为 x86 构建的 Android SDK 上启动 lib\main.dart...

FAILURE:构建失败,出现异常。

  • 什么地方出了错:
    无法确定任务“:app:compileDebugJavaWithJavac”的依赖关系。

    Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not resolve io.flutter:flutter_embedding_debug:1.0.0-a67792536ca236a971d0efbcfd7af4efb8f6c119. Required by: project :app Skipped due to earlier error Skipped due to earlier error Skipped due to earlier error Could not resolve io.flutter:x86_debug:1.0.0-a67792536ca236a971d0efbcfd7af4efb8f6c119. Required by: project :app Skipped due to earlier error Skipped due to earlier error Skipped due to earlier error Could not resolve io.flutter:x86_64_debug:1.0.0-a67792536ca236a971d0efbcfd7af4efb8f6c119. Required by: project :app Skipped due to earlier error Skipped due to earlier error Skipped due to earlier error

  • 尝试:
    使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。使用 --scan 运行以获得完整的见解。
  • https://help.gradle.org 获得更多帮助

  • BUILD 在 2m 35s 内失败
    Gradle 任务 assembleDebug 失败,退出代码为 1
    退出(sigterm)

    我最近在重置 PC 后重新安装了我的 flutter ,即使我刚刚创建了新项目,此消息仍会不断弹出,对此的任何解决方案都会有所帮助。thx

    最佳答案

    从这里 github issue
    似乎您需要确保您的依赖项没有冲突/相同版本。

    如果在此错误发生之前更改了任何依赖项版本,则可以更新或降低依赖项版本,运行 flutter clean最后 flutter run

    关于 flutter : any Solution to this Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60239254/

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