C. Merging libraries

The scenario that requires slightly more attention is if
your existing Android application already depends on the
same Android library that your Flutter module
does (transitively via a plugin).

For instance, your existing app’s Gradle may already have:

dependencies

implementation

'com.crashlytics.sdk.android:crashlytics:2.10.1'

And your Flutter module also depends on
firebase_crashlytics via pubspec.yaml:

dependencies

firebase_crashlytics

^0.1.3

This plugin usage transitively adds a Gradle dependency again via
firebase_crashlytics v0.1.3’s own Gradle file:

dependencies

implementation

'com.crashlytics.sdk.android:crashlytics:2.9.9'