I have built an ionic app. When I serve it via ionic serve
(on browser), everything runs as expected. But when I do build it for android the app loads, shows the splash-screen and then just a blank white screen.
I have built the same app as configured (the cordova part) and replaced the src folder with the boilerplate that comes when you initialize a new app with ionic start
and it runs just fine. Leading me to conclude that the problem is in my javascript code.
I would like to know how to debug this and how to find the console output when the device is running on an actual device. Is it possible to view the errors via adb
and specifically when running on android?
Any Help please
My system information:
Cordova CLI: 6.5.0 Ionic Framework Version: 2.0.0 Ionic CLI Version: 2.2.1 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 1.0.0 OS: Linux 4.8 Node Version: v7.6.0