flutter 常见报错总结
- 执行 flutter packages get 命令报错
Your Flutter application is created using an older version of the Android
embedding. It’s being deprecated in favor of Android embedding v2.
解决办法:
在android manifest.xml中 activity节点下增加配置
<meta-data
android:name="flutterEmbedding"
android:value="2" />