How can I debug this NullPointer exception?

后端 未结 7 1650
南方客
南方客 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 20:02

    Even if it's happening within the Android code, you should still be able to narrow down at what point it's happening and which of your variables it doesn't like. Yeah, vague answer, not much else to say. Or download the source and tell Eclipse where it is.

提交回复
热议问题