Hello friends, Recently when I was running my flutter project then I notice that on the Terminal window It is showing me a Error message. When I read the error message, It says something about splash screen is deprecated in flutter. When I Google this error I saw that this has noting do with my project and does not cross with our current flutter project. But a error is a error and we have to solve it. So I found a solution. To solve this error we have to remove io.flutter.embedding.android.SplashScreenDrawable meta data from our android project’s AndroidManifest.xml file. Flutter Solve A splash screen was provided to Flutter, but this is deprecated Error in Android.
How error looks like :-
A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
Contents in this project Flutter Solve A splash screen was provided to Flutter, but this is deprecated Error :-
1. To solve splash screen error first of all we have to open our project’s main AndroidManifest.xml file. Location of AndroidManifest.xml file is Your_Flutter_Project -> android -> app -> src -> main folder.