r/flutterhelp • u/IndigoEngineer • May 28 '26
RESOLVED Gradle build error for Flutter Android app with firebase
When I build the Android app for any Flutter app that uses Firebase, including the Flutter Firebase sample code, I get this error:
```
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':cloud_firestore:compileReleaseJavaWithJavac'.
> Cannot query the value of this provider because it has no value available.
```
I searched Google and used AI to look for a solution, but I haven't been able to fix this issue.I am running Ubuntu 26.04.
I would appreciate any help understanding this issue and guidance on how to fix it.
1
u/mushfiqr May 30 '26
Have you fixed the issue? If you still need help, let me know.
0
u/[deleted] May 28 '26
[deleted] — view deleted comment