I am developing an application, and everytime I run it, I get the message: 我正在開發一個應用程序,每次運行它時,都會收到如下消息: 程序員
Unfortunately, MyApp has stopped. 不幸的是,MyApp已中止。 app
What can I do to solve this? 我該怎麼解決? this
About this question - obviously inspired by What is a stack trace, and how can I use it to debug my application errors? 關於這個問題-顯然是受什麼是堆棧跟蹤的啓發,以及如何使用它來調試應用程序錯誤? , there are lots of questions stating that their application has crashed, without any further detail. ,有不少問題代表它們的應用已崩潰,沒有任何進一步的細節。 This question aims to instruct novice Android programmers on how to try and fix their problems themselves, or ask the right questions. 這個問題的目的是指導新手Android程序員如何自行解決問題或提出正確的問題。 spa