gpt4 book ai didi

android - 我有一个构建我的Flutter应用程序的 Prop

转载 作者:行者123 更新时间:2023-12-03 05:18:41 26 4
gpt4 key购买 nike

当我运行我的应用程序时,显示以下错误消息:

Launching lib\main.dart on AOSP on IA Emulator in debug mode…
lib\main.dart

FAILURE: Build failed with an exception.

What went wrong:
Could not open settings remapped class cache for bq3hllkgb26p0nrblf5gh8d37 (C:\Users\amabd.gradle\caches\5.6.2\scripts-remapped\settings_dok3hc1t57922ptib73pz9y10\bq3hllkgb26p0nrblf5gh8d37\settings8410a2d21ed2f87c8a0398566330ee52).
Could not open settings generic class cache for settings file ‘D:\projects\flutter\photo\photos\android\settings.gradle’ (C:\Users\amabd.gradle\caches\5.6.2\scripts\bq3hllkgb26p0nrblf5gh8d37\settings\settings8410a2d21ed2f87c8a0398566330ee52).
BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript’ Unsupported class file major version 57

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 3s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
谁能帮我解决这个问题?

最佳答案

转到此文件夹并删除所有缓存的文件。

  C:\Users\amabd.gradle\caches
然后尝试重新启动项目。

关于android - 我有一个构建我的Flutter应用程序的 Prop ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64768366/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com