扑:无法建立android apk
FAILURE: Build failed with an exception.
-
出了什么问题: 任务':app:lintVitalRelease'的执行失败.
-
What went wrong: Execution failed for task ':app:lintVitalRelease'.
无法解析配置':app:debugRuntimeClasspath'的所有工件. 无法转换libs.jar以匹配属性{artifactType = processed-jar,org.gradle.libraryelements = jar,org.gradle.usage = java-runtime}. JetifyTransform的执行失败:E:\ AndroidStudioProjects \ FlutterProject \ EduyaariGuruFlutter \ eduyaari_guru_flutter \ build \ app \ intermediates \ flutter \ debug \ libs.jar. 无法使用Jetifier转换'E:\ AndroidStudioProjects \ FlutterProject \ EduyaariGuruFlutter \ eduyaari_guru_flutter \ build \ app \ intermediates \ flutter \ debug \ libs.jar'.原因:FileNotFoundException,消息:E:\ AndroidStudioProjects \ FlutterProject \ EduyaariGuruFlutter \ eduyaari_guru_flutter \ build \ app \ intermediates \ flutter \ debug \ libs.jar(系统找不到指定的路径). (使用--stacktrace运行以获取更多详细信息.) 请在 http://issuetracker.google.com/issues/new?component=上提交错误. 460323 .
Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'. Failed to transform libs.jar to match attributes {artifactType=processed-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. Execution failed for JetifyTransform: E:\AndroidStudioProjects\FlutterProject\EduyaariGuruFlutter\eduyaari_guru_flutter\build\app\intermediates\flutter\debug\libs.jar. Failed to transform 'E:\AndroidStudioProjects\FlutterProject\EduyaariGuruFlutter\eduyaari_guru_flutter\build\app\intermediates\flutter\debug\libs.jar' using Jetifier. Reason: FileNotFoundException, message: E:\AndroidStudioProjects\FlutterProject\EduyaariGuruFlutter\eduyaari_guru_flutter\build\app\intermediates\flutter\debug\libs.jar (The system cannot find the path specified). (Run with --stacktrace for more details.) Please file a bug at http://issuetracker.google.com/issues/new?component=460323.
-
尝试: 使用--stacktrace选项运行以获取堆栈跟踪.使用--info或--debug选项运行,以获取更多日志输出.与--scan一起运行以获得完整的见解.
-
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.
在1m 8s内失败
-
步骤1.flutter build apk --debug
步骤2.flutter build apk --profile
步骤3.flutter build apk --release