Flutter常见错误记录

错误:

W/FlutterActivityAndFragmentDelegate(10811): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.

解决:

AndroidManifest.xml文件,注释掉以下内容即可。

<meta-data
    android:name="io.flutter.embedding.android.SplashScreenDrawable"
    android:resource="@drawable/launch_background"
/>
 
posted @ 2022-02-01 17:36  深圳大漠  阅读(290)  评论(0编辑  收藏  举报