学习flutter项目,参考wechat_flutter项目,然而发现无法运行。
报错情况1:
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the steps at
https://flutter.dev/go/android-project-migration
to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The detected reason was:
D:\tmp\flutter\im-flutter\android\app\src\main\AndroidManifest.xml uses android:name="io.flutter.app.FlutterApplication"
报错情况2:
This app i