The application has stopped unexpectedly: How to Debug?

后端 未结 5 2379
春和景丽
春和景丽 2020-12-23 17:36

Please note, unlike many other questions having the subject title \"application has stopped unexpectedly\", I am not asking for troubleshooting a particular problem.

5条回答
  •  再見小時候
    2020-12-23 17:56

    If you use the Logcat display inside the 'debug' perspective in Eclipse the lines are colour-coded. It's pretty easy to find what made your app crash because it's usually in red.

    The Java (or Dalvik) virtual machine should never crash, but if your program throws an exception and does not catch it the VM will terminate your program, which is the 'crash' you are seeing.

提交回复
热议问题