Skip to content
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

FAILURE: Build failed with an exception. #2508

Open
muteealjabri9 opened this issue Dec 26, 2024 · 4 comments
Open

FAILURE: Build failed with an exception. #2508

muteealjabri9 opened this issue Dec 26, 2024 · 4 comments

Comments

@muteealjabri9
Copy link

After Updating Android Studio and updating java version to 17

image

Flutter Doctor
image

@richard457
Copy link

You need to make sure default requirement are meet on windows https://stackoverflow.com/questions/71080518/visual-studio-not-installed-this-is-necessary-for-windows-development

@Levi-Lesches
Copy link
Contributor

@richard457 Note that the error they're getting is for an Android build, which shouldn't be affected by Windows requirements.

@muteealjabri9, try running flutter clean, since you upgraded your Android Studio and Gradle, and the error indicates you're still using your cache. If that doesn't work, try reading the output of flutter analyze --suggestions, and try following the instructions in the new Android setup guide

@muteealjabri9
Copy link
Author

I solve that by adding some lines in androidManifast.xml --- its working now

@Levi-Lesches
Copy link
Contributor

Great! Can you close this issue and, if you're feeling helpful, confirm that the lines you added are in the README and/or this Android setup guide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants