首页 > 代码库 > ADT 查看 android 源码 The source attachment does not contain the source

ADT 查看 android 源码 The source attachment does not contain the source

按Ctrl + 左击 所要查看的源码出现:

    The source attachment does not contain the source...

 

step1:点击 project--->点击properties--->选中 Java Build Path

  查看Source attachment/Javadoc Location 这两个选项

step2:配置Source attachment/Javadoc Location

  双击 Source attachment或者选中后点击Edit

  在External File Path中选中../sdk/sources目录(adt安装目录下)

  

  双击Javadoc Location或者选中后点击Edit

  点击Browse 选中../docs/reference目录(adt安装目录下)

  

ADT 查看 android 源码 The source attachment does not contain the source