-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue occurs while run flutter app #86924
Comments
Any help or ideas that why this exception occur. |
Hi, @kavita665 could you please share the output of Thank you. |
D:\KAVITA\flutter project\firstproject> flutter doctor -v [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [√] Chrome - develop for the web [!] Android Studio (not installed) [√] VS Code (version 1.58.2) [√] Connected device (2 available) ! Doctor found issues in 1 category. |
This comment has been minimized.
This comment has been minimized.
flutter run --verbose logs
|
PS D:\KAVITA\flutter project\firstproject> flutter run FAILURE: Build failed with an exception.
BUILD FAILED in 7s |
Hi @kavita665, It looks like this issue occurs because of incompatible versions of java, Please check the solutions mentioned here. Thank you. |
Without additional information, we are unfortunately not sure how to resolve this issue. Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Could not open settings generic class cache for settings file 'D:\KAVITA\flutter project\firstproject\android\settings.gradle' (C:\Users\Kavita Singh.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe).
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
The text was updated successfully, but these errors were encountered: