Flutterfire: The plugin cloud_firestore could not be built due to the issue above.

Created on 13 Dec 2019  路  4Comments  路  Source: FirebaseExtended/flutterfire

Hi,
I was building a flutter app with firebase using a AVD. The app is almost done, running without any error, but when i try to build a release version i got this error:
The plugin cloud_firestore could not be built due to the issue above.

Here is the build apk --verbose: https://pastebin.com/rSEHS8iz

That is my build gradle(/android/l):
https://pastebin.com/jtaNF1cC

That is my build gradle(/android/app/):
https://pastebin.com/tV1crnzQ

And that is my pubspec.yaml:
https://pastebin.com/bpNrxTbj

bug

Most helpful comment

Hello everyone,
I've solved my problem.
One of my dependences in .flutter.pub-cache\hosted\pub.dartlang.org\ was using CompileSdkVersion 27 in build.gradle.
I just changed it to 28 and everything works just fine.

All 4 comments

I am facing the same problem. Can someone help?

Hello everyone,
I've solved my problem.
One of my dependences in .flutter.pub-cache\hosted\pub.dartlang.org\ was using CompileSdkVersion 27 in build.gradle.
I just changed it to 28 and everything works just fine.

Same problem but it is already set to 28...

build.gradle
android {
compileSdkVersion 28
...
}

Was this page helpful?
0 / 5 - 0 ratings