Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+2 votes

I am trying to run my bird counting App on an emulator within Android Studio and it will no longer open my app. I get a pop-up message that says

BirdCountAssignment kept stopping.
Click for App Info
Click to Close

Has anyone else experienced this issue and know a solution?

asked ago in CSC490_Spring202021 by (408 points)

1 Answer

+3 votes
 
Best answer

That's happened to me a few times as well. As far as I can tell, it means that you have an error in your code that's causing the app to crash. You can try looking on the console to look for specific error messages.

If you haven't looked at it before, it's on a tool bar on the bottom of the screen. (Right next to "Database Inspector") Upon launching the app, there should also be a green speech bubble coming from it that reads "Success operation succeeded"

answered ago by (232 points)
selected ago by
+1

Yeah, I think it's called "Logcat", or at least it used to be. You can filter it to show just "error messages" and not all the warnings or other debug-level info.

The most likely culprit is your old friend, the NullPointerException (especially if you forgot to assign a value to some variable), although any other errors like IndexOutOfBounds, etc, are certainly possible as well...

...