Skip to content
Discussion options

You must be logged in to vote

Hey @JamesMcIntosh,
We have observed this behavior and have been able to reproduce it in the past. One suggested approach to controlling the Gradle version on any CI/CD system, is to remove /gradlew from the .gitignore file in the Android folder. The Flutter template automatically adds this entry, which can sometimes cause inconsistencies in Gradle versions across different environments.

The Gradle daemon starts to speed up subsequent builds. Even if dependencies are resolved, Gradle still needs to manage tasks like compiling native Android code, and generating APK/AAB files.
Regarding why the build doesn’t fail even if a fatal error occurs during dependency installation, it’s likely that…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@JamesMcIntosh
Comment options

@JamesMcIntosh
Comment options

@dam-ease
Comment options

@JamesMcIntosh
Comment options

@dam-ease
Comment options

Comment options

You must be logged in to vote
3 replies
@JamesMcIntosh
Comment options

@JamesMcIntosh
Comment options

@dam-ease
Comment options

Answer selected by dam-ease
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants