My app runs perfectly with no problems. But when I try to debug it, android studio freezes. So I get the message "Waiting for debugger" and then that message goes away and next I get only a black screen in the emulator. I also get the message
SIGNAL = SIGABRT (signal SIGABRT)
in the debug window under variables tab.
How do I fix this?