While trying to run my ionic app on android device, “ionic run android” and “ionic run android -l”, commands show completely different behavior.
ionic run android -l
This runs as expected, splashscreen works just fine and images are displayed where they should. Other cordova plugins like “$cordovaNetwork” work just fine as well.
However, if I run
ionic run android
(notice the missing ‘-l’ argument) on the same app, splashscreen gets stuck at .hide(). Even the images are not rendered and instead image-not-found(that broken screen icon) shows up. So the generated apk is useless.
I know I’m doing something stupid, but can’t figure out what. I’m pulling my hair over this issue, because it doesn’t make any sense. Any help will be greatly appreciated.