0

单步执行我的代码时,我总是会收到以下错误,并且我要实例化我的类 getMessages。使用以下行:

final getMessages getSms = new getMessages();

我无法进入他的课程,并且在不调试应用程序时运行正常,没有错误 - 请参阅下面的 Eclipse 新选项卡上弹出的错误。如果我复制我的班级并重命名新副本并实例化它,它会起作用 - 什么给出?我在这上面花了最后 4 个小时。

在此处输入图像描述

4

2 回答 2

1

That is because you do not have the source code of that class, and the compiler only can show you what "he can find" of the class bytecode. This is not an error, only a notification that soruces are not avalaible for you to debug them

You can manually attach the source code using the "Attach Source" button, and searching for the zip file containing the jdk sources

于 2013-08-06T16:55:40.810 回答
1

You need to attach source codes for Android, follow the guide here: http://android.opensourceror.org/2010/01/18/android-source/

于 2013-08-06T16:55:52.257 回答