create_flutter_provider_app
create_flutter_provider_app copied to clipboard
Flutter application is created using an older version of the Android embedding
Currently cannot compile caused by deprecated support of Android embedding v1. The link supplied explain quite well the changes necessary for the migration.
$ flutter build apk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. To migrate
your project, follow the steps at:
https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
The detected reason was:
.../android/app/src/main/AndroidManifest.xml uses
`android:name="io.flutter.app.FlutterApplication"`
Build failed due to use of deprecated Android v1 embedding.