AndroidX incompatibilities may have caused this build to fail. Please migrate your app to AndroidX. code example
Example: flutter android x
android.useAndroidX=true
android.enableJetifier=true
android.useAndroidX=true
android.enableJetifier=true