关联源代码的方法

当外包不能和源代码相关联时 且关联的时候没有添加键(Attach Source)时:
1.右击Android Dependencies-->Build Path-->Remove from Build Path
2.再右击libs下的这个jar包-->Build Path-->Add to Build Path
当再次去关联源代码时就会有Attach Source键了  然后将sdk中java文件添加上去就可以了

 

posted @ 2016-07-26 09:37  ts-android  阅读(147)  评论(0编辑  收藏  举报