when I run my project in debug and even release mode using flutter run --release
everything is fine but when I get the output apk files using flutter build apk --split-per-abi
and installing it successfully it only launches a blank grayish screen, not showing my splash screen and my homepage.
Asked
Active
Viewed 1,427 times
2

Mahdi-Jafaree
- 882
- 2
- 9
- 22
1 Answers
2
In flutter when you have a grey screen means that it has thrown an exception. Try revising the code to see if there is anything that can thow exception.

Ayad
- 671
- 5
- 16
-
you mean put a try/catch block in main? – Mahdi-Jafaree Nov 24 '20 at 07:21