提问人:Ibrahim Saleem 提问时间:10/18/2023 最后编辑:ZahraIbrahim Saleem 更新时间:10/18/2023 访问量:116
如何解决错误 FAILURE: Build failed with an exception.* 其中:构建文件“C:\Users\FAMILY\yoga\android\app\build.gradle”行:24
How to solve the error FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\FAMILY\yoga\android\app\build.gradle' line: 24
问:
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Where:
Build file 'C:\Users\FAMILY\Downloads\yogaguru\yogaguru\android\app\build.gradle' line: 24
What went wrong:
A problem occurred evaluating project ':app'.
com/android/build/api/dsl/StoreArchive
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 1m 58s
Exception: Gradle task assembleDebug failed with exit code 1
我从 .gradle 缓存中删除了所有内容,并在 Android Studio 中执行了 Invalidate Caches 并重新启动它,但仍然没有任何效果。请帮帮我。我正在使用 gradle 包装器版本:7.5 Android Studio:2022.3.1.2,Java:11,Android Gradle 插件:7.2.2。请帮帮我。
答: 暂无答案
评论