FAILURE: Build failed with an exception.
Run Code Online (Sandbox Code Playgroud)
出了什么问题:任务“:app:compileDebugKotlin”执行失败。
无法解析配置“:app:debugCompileClasspath”的所有工件。无法转换工件“x86_debug.jar (io.flutter:x86_debug:1.0.0-77c5812d48b861225ea629bd813ad502ddf2c89c)”以匹配属性 {artifactType=android-classes, org.gradle.usage=java-runtime-jars}。JetifyTransform 执行失败:C:\Users\Parth.gradle\caches\modules-2\files-2.1\io.flutter\x86_debug\1.0.0-77c5812d48b861225ea629bd813ad502ddf2c89c\d987fc036069ac9d7bfec6a441e0c6ca9e 6d8467\x86_debug-1.0.0-77c5812d48b861225ea629bd813ad502ddf2c89c.jar。无法转换'C:\Users\Parth.gradle\caches\modules-2\files-2.1\io.flutter\x86_debug\1.0.0-77c5812d48b861225ea629bd813ad502ddf2c89c\d987fc036069ac9d7bfec6a441e0c6ca9e6d8 467\x86_debug-1.0.0-77c5812d48b861225ea629bd813ad502ddf2c89c.jar'使用Jetifier。原因:距离代码无效。(使用 --stacktrace 运行以获取更多详细信息。)
尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。使用 --scan 运行以获得完整的见解。
在https://help.gradle.org获取更多帮助
在 22 秒内构建失败 Gradle 任务 assembleDebug 失败,退出代码 1 已退出 (sigterm)