App crashes on startup, but runs well on emulator

Hello,

I have made a android app using ionic framework. It fetches json data from server using $http. The application is working well on browser and android emulator but its not working on real android device.

I have tested on 2-3 devices but, it just shows the white screen and crashes back to android menu with any error pop up. I have used seed-project and adding some new controllers to it.

Also, Is there any way I can debug my android app on real device ?

Thanks
Gaurav

I have solved the issue. Actually problem was on the index page, some “ul” tag is not properly closed. Surprisingly, it showed up correct in emulator.
Please check the html tags always if anyone in future have similar problem.