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”按鈕,此時,便能夠檢視原始碼了。