The source attachment does not contain the source for the file解决方案
2015-11-21 09:46
561 查看
The source attachment does not contain the source for the file
解决方案
没法在Eclipse里面查看Android源码,具体表现为[ctrl+左键]跳转时出现:The source attachment does not contain the source for the file.
把Android SDK Manager 里面该Install的都Install了。
参考:
http://stackoverflow.com/questions/14942851/the-source-attachment-does-not-contain-the-source-for-the-file-layoutinflater-cl
添加时仍然是相同的错误。
最后终于找出原因,是自己犯蠢了:
在 Source Attachment Configuration界面要选择源码的目录,而不是选择Android.jar的目录。
正确添加的目录应该是:
D:\adt-bundle-windows-x86-20131030\sdk\sources\android-19
相关文章推荐
- 人工智能机器人“能文能武”,但还差一些感性与思考
- 0015.scala的多重继承、多重继承构造器执行顺序、基于trait的AOP实现
- 0014.trait的混入
- 从1894年伦敦马粪危机看人工智能威胁论
- Projective Dynamics: Fusing Constraint Projections for Fast Simulation
- ci框架(codeigniter)Email发送邮件、收件人、附件、Email调试工具
- airflow简析(一)
- EXPLAIN
- nyoj See LCS again 760 (LCS&&LIS) 好题
- LeetCode 刷题: Climbing Stairs --- 类似于Fibonacci 数列
- [AlwaysOn Availability Groups]排查:Primary上的修改无法在Secondary体现
- 2.1 状态空间表示
- VS项目中修改某个项目文件名出现警告:warning MSB8028: The intermediate directory (Debug) contains files shared from an
- sleep和wait的区别
- CI框架Email类配置腾讯邮箱失败
- Centos6.7 安装Naigos教程
- 无线wifi破解利器aircrack-ng组件介绍
- 教你如何让Mac air在闭合盖子时,系统不会休眠!
- Paint和canvas的用法
- baos bais 意义