问题描述
github 新 down 下来的项目执行 flutter package get 时报错
Your Flutter application is created using an older version of the Android embedding. It’s being deprecated in favor of Android embedding v2.
解决办法
参考链接(需翻墙)
将下方标签添加至 AndroidManifest.xml
文件的 activity
标签下
<meta-data android:name="flutterEmbedding" android:value="2" />