'Flutter App Stuck on Launcher Screen Android

I am running my flutter app on physical device, but it gets stuck on launcher screen. The run console doesn't show any error except these two lines:

I/flutter ( 5947): Observatory listening on ************************************
D/FlutterLocationService( 5947): Creating service.
D/FlutterLocationService( 5947): Binding to location service.

But when I run on Emulator it runs fine. What can be issue. I have added the permissions for internet access and location as well. Still not working

I dont what to check for this as it is showing no error !!! just getting stuck

Flutter Doctor results:

[√] Flutter (Channel stable, 2.0.6, on Microsoft Windows [Version 10.0.19042.985], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.56.2)
[√] Connected device (3 available)


Solution 1:[1]

So this was a problem for not getting the permissions. Now you have to explicity ask for permission in flutter. Just adding in Android Manifest does not work. I use Permission Handler plugin and added this code And the error goes away

Edit: Now that Android 11 update has come, most of devices are being stuck at Native Splash Screen for infinity. This issue is also reported on github as well here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1