【发布时间】:2021-05-09 12:30:41
【问题描述】:
我安装了 Android Studio 和 Flutter。 “扑医生”说这一切都好。 但是当我运行我的第一个应用程序时,出现以下错误:
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\Mike\Desktop\infect_check\android\settings.gradle' (C:\Users\Mike\.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 60
* 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 4s
感谢您的帮助!!!
【问题讨论】: