Immediate force close on launch [closed]
I've had a report from one user of my app tha开发者_Python百科t it force-closes upon launching. This is the only report out of all of my users of this happening, which leads me to believe that it is a problem that comes with his firmware.
His device is a HTC Desire HD running the latest Cyanogenmod Nightly ROM, and the (only) error produced in the logcat was:
W/dalvikvm( 3013): threadid=1: thread exiting with uncaught exception (group=0x40015560)
has anyone any ideas as to what is going wrong with my app on his device?
EDIT: Problem actually turned out to be an unhandled null exception from a UUID in onCreate()
First, don't bang your head over one user with custom nightly ROM.
Second, I HIGHLY recommend you add default exception handler to catch all unhandled exceptions and upload them to your server. I set my code so that they are uploaded directly to issue tracking system.
精彩评论