首页 > 解决方案 > JetifyTransform Flutter 运行执行失败

问题描述

FAILURE: Build failed with an exception.

在 22 秒内构建失败 Gradle 任务 assembleDebug 失败,退出代码为 1 退出(sigterm)

标签: gradleflutterkotlin

解决方案


我有类似的错误,我将 chekReleaseBuilds false 添加到 gradle 文件中,如下所示:

lintOptions {
disable 'InvalidPackage'
checkReleaseBuilds false //added this line to the build.gradle under the 
/android/app/build.gradle 
}

这行得通。


推荐阅读