KenAragorn / create_flutter_provider_app

A boilerplate project created in Flutter using Provider and Firebase.
MIT License
404 stars 117 forks source link

Flutter application is created using an older version of the Android embedding #27

Open ayozehd opened 1 year ago

ayozehd commented 1 year ago

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.