Head scratcher here. I compile my app in release mode, usb debugging on a real device and when it is installed everything is fine and all runs good. If I the close the app and wait a minute or two and restart it. It fails to run properly. I get:
This one was me being an idiot. I went back and checked the GIT logs and sure enough, I had remarked out some code. Why? No idea as I was working in a class and not the main Activity. AAAahhhhhhhh. I am getting old and my app is getting TOO big!
I use the catLog as it is color coded and has a filter to filter for anything. You can then send emails to yourself. I only use it when I am to stupid to read the IDE logs.