How can I debug this NullPointer exception?

后端 未结 7 1645
南方客
南方客 2020-12-28 19:49

I\'m trying to write an application for Android and when I launch my new activity, I\'ve set break points and found that it runs through my onCreate without any errors, but

7条回答
  •  灰色年华
    2020-12-28 19:53

    a button that says "Edit Source Lookup Path"

    Hit that button and tell Eclipse where to find the source code for that method. That should help. At least you'll be able to step into it in the debugger and read something more sensible.

提交回复
热议问题