Ionic App has Crashed or not Responding
Recently I was working on an ionic project which was started by another developer, I made changes required and I was trying to build the application on a real device and emulator when it started crashing and i had no idea what might be wrong, I try browser debug and search online for series of solution nothing worked for me.
Today am going to show you how I finally debug and find the problem of crashing the app.
Step one
Download and install android studio on your PC launch android studio
Step Two
Open the Platform/android folder of the ionic project on the android studio as a new project
Step Three
Open Log Cat at the bottom of the app and make sure your emulator or Android Device is visible on the device list at the section verbose search for your app unique ID mine is com.compnayname.com
Step Four
Lol…. there is no step four! You can see the log in the log cat now
You should see the log as indicated with the Green Box
Summary
Open your ionic project platform folder then android folder in the android studio connector your android device or emulator open the log cat and search for your app id you will get the log of what is crashing your app
Thanks for reading I hope I was able to help someone happy coding
if you have a question or improvement or a better way to do it feel free to drop your comment and opinion