The source attachment does not contain the source for the file xxx class

   (1)在Eclipse中点击"Change Attached Source…”下面的按钮

 (2)弹出SOURCE ATTACHENT Courageouration,选择External Floder…按钮,添加文件夹所在路径。

    (3)选择android源代码所在位置F:\adt-bundle-windows-x86\sdk\sources\android-20(这是我的Eclipse  SDK路径)如果没有自己下载,可以通过Android SDK Manager进行源代码下载,点击“OK”按钮,此时,便能够查看源代码了


发布了35 篇原创文章 · 获赞 3 · 访问量 4万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章