开发中有用到android-support-v4.jar,但一直没在意源码,今天想关联看下源码,根本没有关联的源码的选项,提示:

The Jar of this class file belongs to container 'Android Dependencies' which does not allow modifications to

 source attachments on its entries.

仔细看了官方介绍,重做一遍,源码关联成功,步骤为:

1.移除 Android Dependencies 

2.在libs下 右键 android-support-v4.jar  Build Path ->Add To Build Path

Android官方介绍地址: http://developer.android.com/tools/extras/support-library.html#SettingUp

相关文章:

  • 2021-10-06
  • 2022-01-25
  • 2021-06-15
  • 2022-12-23
  • 2021-11-25
  • 2021-07-25
  • 2022-12-23
猜你喜欢
  • 2021-08-28
  • 2021-05-09
  • 2021-10-10
  • 2022-01-14
  • 2021-10-27
  • 2022-12-23
相关资源
相似解决方案