【问题标题】:While I am running my flutter project I am unable to run it in emulator or mobile, it is showing error in debug console当我运行我的颤振项目时,我无法在模拟器或移动设备中运行它,它在调试控制台中显示错误
【发布时间】:2021-10-14 13:11:45
【问题描述】:

当我尝试运行我的颤振项目时,我无法在模拟器或移动设备中运行它,它在调试控制台中显示此错误:

Execution failed for DexingWithClasspathTransform: C:\Users\alian\.gradle\caches\transforms-2\files-2.1\be6d711c57b89887f4ceca287ebaa2f2\jetified-flutter_embedding_debug-1.0.0-241c87ad800beeab545ab867354d4683d5bfb6ce.jar.
Cannot parse result path string: 

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 14s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

【问题讨论】:

标签: flutter dart debugging sdk


【解决方案1】:

您是否尝试过删除 C:\Users\alian\.gradle\caches 文件夹并重新运行构建?

【讨论】:

    【解决方案2】:

    然后尝试删除android路径中的Gradle文件夹,

    • 清理并重建您的 Flutter 的 android 项目并等待构建成功。

    【讨论】:

      猜你喜欢
      • 2021-02-13
      • 1970-01-01
      • 2021-12-16
      • 1970-01-01
      • 2022-07-07
      • 2020-02-20
      • 2023-03-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多