Note: This element has no attached source and Javadoc could not be found in the attached Javadoc解决办法

来源:互联网 发布:.net数据库开发 编辑:程序博客网 时间:2024/06/04 19:18

在Eclipse中,鼠标悬停在某个函数上,悬浮的对话框中显示”Note: This element has no attached source and Javadoc could not be found in the attached Javadoc“,无法查看函数的源代码。
解决方法:点击Project–>Properties,选中Java Build Path,右侧选择Libraries,打开Android 4.4(这个是我的版本),展开android.jar,选择Source attachment,点击右侧的Edit,选择External location,点击External File,选择你下载的src.zip,一路OK,则可以解决这个问题。

(src.zip下载地址:http://pan.baidu.com/s/1qWkdVbu) 这是我用的src.zip,亲测可以用
0 0
原创粉丝点击