关于eclipse提示class file editor source not found的解决方法
2011-05-04 16:02
585 查看
在使用Andriod SDK进行应用程序开发的时候,我们需要对源代码进行调试,有可能需要进入到某个Android API函数内部进行跟踪调试。但是,如果目标版本的SDK没有关联对应版本的源代码的话,就会提示你找不到源代码。
如图:找不到Android源码的提示
解决办法:
将源代码frameworks/base/core/java下的所有文件拷贝到你的SDK目录下的"android-sdk-windows/platforms/android-3/sources"文件夹下(注:android-3中的3是指工程AndroidManifest.xml中所设置的SDK版本)。然后重启一下Eclipse。
(注:如果不存在android-sdk-windows/platforms/android-3/sources文件夹,则自行新建一个)
如图:找不到Android源码的提示
解决办法:
将源代码frameworks/base/core/java下的所有文件拷贝到你的SDK目录下的"android-sdk-windows/platforms/android-3/sources"文件夹下(注:android-3中的3是指工程AndroidManifest.xml中所设置的SDK版本)。然后重启一下Eclipse。
(注:如果不存在android-sdk-windows/platforms/android-3/sources文件夹,则自行新建一个)
相关文章推荐
- eclipse提示class file editor source not found的解决方法
- Eclipse: class file editor: source not found 问题解决办法
- Eclipse: class file editor: source not found 问题解决办法
- Eclipse: class file editor: source not found 问题解决办法
- 关于Class File Editor的解决方法
- VC6编辑时提示This file has been modified outside of the source of editor.Do you want to reload it?解决方法
- Eclipse: class file editor: source not found
- 1.0.2 eclipse中Ctrl点击某个类提示Class File Editor Source not foun
- Java 用eclipse调试老是提示Source not found解决方法——关联
- java eclipse调试提示Source not found 或 一闪而过 解决方法
- Class File Editor:Source not found(Eclipse中找不到系统函数)
- Class File Editor:Source not found(Eclipse中找不到系统函数)
- 关于source insight提示source insight can't create file的解决方法
- Java 用eclipse调试老是提示Source not found解决方法——关联
- eclipse 查看类的源码失败:class file editor, source not found
- eclipse工程“Source not found”解决方法
- eclipse 查看原始类出现The jar file rt.jar has no source attachment解决方法
- eclipse项目中关于导入的项目里提示HttpServletRequest不能引用的解决方法
- Eclipse中编译和运行时使用的JDK和JRE级别问题(关于"Bad version number in .class file"的异常解决)
- 关于Class File Editor Source not found