I am getting some errors after installing the firebase_auth
plugin and updating the other firebase
plugin versions. I tried some solutions including do
Upgrade your whole firebase plugins as new
Man i had a problem like this just one day ago. This is probably conflict between support library and androidx in your dependencies. Take a look at this issue. In my case i solve this manually removing all dependencies from my project in pubspec and add one by one with new updated version that already use androidx and migrate my project too. Well i try IDE androidX migration tool but without success. Finally be aware with thrid part libraries some of them take a time to update and create problems like this.
I had same problem and i updated as follows
compile 'com.google.firebase:firebase-core:11.0.4'
compile 'com.google.firebase:firebase-auth:11.0.4'
compile 'com.google.firebase:firebase-messaging:11.0.4'
to
implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.google.firebase:firebase-messaging:17.0.0'
Check latest version and update accordingly https://firebase.google.com/support/release-notes/android
I ended up fixing my error by following this: https://github.com/flutter/flutter/issues/27128#issuecomment-457918930
Here's some other notes: