【发布时间】:2023-03-13 19:56:01
【问题描述】:
我收到一条错误消息:
The JAR file C:\sdk\platforms\android-18\android.jar has no source attachment. You can attach the source by clicking attach source below.
但是我点击了附加源按钮并添加了 C:\sdk\platforms\android-17\android.jar 然后它只是给了我:
Source not found. The source attachment does not contain the source for the file Activity.class. You can change the source attachment by clicking Change Attached Source below.
【问题讨论】:
-
那不是源码,而是JAR文件中的编译代码本身……你需要获取源码。通常是
-src.zip...