【问题标题】:Execution failed for task ':app:compileDebugKotlin'. in flutter任务 ':app:compileDebugKotlin' 执行失败。飘飘然
【发布时间】:2020-12-09 10:41:57
【问题描述】:

在调试模式下在 RMX2061 上启动 lib\main.dart... 正在运行 Gradle 任务“assembleDebug”... 参数格式不正确-

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

  • 出了什么问题: 任务 ':app:compileDebugKotlin' 执行失败。

无法解析配置“:app:debugCompileClasspath”的所有工件。 无法转换工件“x86_debug.jar (io.flutter:x86_debug:1.0.0-c8e3b9485386425213e2973126d6f57e7ed83c54)”以匹配属性 {artifactType=android-classes, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime} . >执行失败IdentityTransform:C:\ Users \用户的Manoj sirrupu.gradle \缓存\模块-2 \文件-2.1 \ io.flutter \ x86_debug \ 1.0.0-c8e3b9485386425213e2973126d6f57e7ed83c54 \ 570a59b7be41f73458509975d3eefca7ad5561cf \ x86_debug-1.0.0-c8e3b9485386425213e2973126d6f57e7ed83c54.jar。 > 无法解析结果路径字符串:

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

  • 通过https://help.gradle.org获得更多帮助

在 3m 12s 内构建失败 异常:Gradle 任务 assembleDebug 失败,退出代码为 1

【问题讨论】:

    标签: flutter dart


    【解决方案1】:

    在颤振上遇到同样的问题:

    任务 ':app:compileDebugKotlin' 执行失败。

    Screenshot of error message

    解决方案: 仅用一个点更改了公司域。 Screenshot with example

    【讨论】:

      猜你喜欢
      • 2021-09-12
      • 2019-07-14
      • 2016-01-26
      • 2020-05-21
      • 2020-11-29
      • 1970-01-01
      • 2021-01-20
      • 2019-07-09
      • 1970-01-01
      相关资源
      最近更新 更多