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
Gradle build failed to produce an .apk file #45346
Comments
Hi @ThomasValois |
Having the same issue on android , I am only using |
Same issue here. I'm just trying to run on profile mode, but it throws this error:
It also takes ages to build for some reason :/ I don't think it has anything to do with the cloud_firestore, because those are just Xlint warnings. I never had this issue, I believe it could be related to the upgrade to Flutter v1.12, I updated recently SOLVEDI solved my problem. This was caused because I was not entering the --flavor argument. Maybe more information about this error in the future? |
I had the same problem on the Mac and solution for was add to
|
This worked for me. I have been looking around for the solution to this problem for quite a while now. Thanks! |
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v' please. |
I solved this problem. |
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 |
Error Message
Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\Users\...\build, but the tool couldn't find it.
Issue
I've tried moving my Flutter app to AndroidX after it kept prompting me but after doing so the above error message keeps appearing and now I can't even run my app. Any assistance on what can be done for this?
Tried
Flutter Doctor --verbose
Full Issue
The text was updated successfully, but these errors were encountered: