it should still fix some issue In Flutter, the firebase plugins are not made purely in Dart, they are just a pass-through to get to the platform-specific plugins. In other words, when you're using the official flutter firebase plugins you are using the Firebase Android plugin in Android and the Firebase iOS plugin in iOS. The plugins use platform channels to make this bridge.
This might help you I had the same problem and could not migrate to Androidx manually. Note that it is necessary for projects to now be in Androidx if you want to use Firebase, or it may cause more problems later. Step 1: In your project level gradle change: