I have tried everything from flutter clean to clearing package cache.
flutter run --release
works fine but when I do flutter build apk --release
, it doesn't move further than white screen. flutter build apk --debug
works as well. I don't know why it won't work with --release
flag.
Asked
Active
Viewed 53 times
1

bhupendra patel
- 71
- 1
- 2
-
The flutter `build` command defaults to --release.. have you tried without --release flag? – Muthu Thavamani Jan 09 '21 at 05:14
-
yes, I have. But it's still not working. – bhupendra patel Jan 10 '21 at 08:17