Your Flutter application is created using an older version of the Android embedding. It's being deprecated in favor of Android embedding v2. Follow the steps at code example
Example: Your Flutter application is created using an older version of the Android embedding. It's being deprecated in favor of Android embedding v2. Follow the
<meta-data
android:name="flutterEmbedding"
android:value="2" />