Debugging Android RuntimeException - Before my code even executes

后端 未结 1 1143
后悔当初
后悔当初 2021-01-13 20:37

I\'m not new to Java but new to the Android platform. I\'m finding one of the platforms shortcomings to be meaningful feedback on runtime crashes. Fine in user code where br

相关标签:
1条回答
  • 2021-01-13 21:08

    I found the answer to gleaning more information in these situations. This page has some very useful information: http://www.mail-archive.com/android-developers@googlegroups.com/msg79386.html

    By opening the 'Variables' tab in the Debug section of Eclipse's views I could see there was a value named 'e' presumably for 'exception' with the value 'ClassNotFoundException'. By clicking on it I saw a fuller description saying the class that couldn't be found. It was my main Activity, which I'd renamed on a late night before, and forgotten about. Facepalm Hope this info helps someone!

    0 讨论(0)
提交回复
热议问题