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

解决方法英文链接:http://stackoverflow.com/questions/12628439/how-can-i-enable-javadoc-for-the-android-support-library

一:如下图加入properties文件

二:properties文件的内容只需一行:src=D:\\andriod_adt\\sdk\\extras\\android\\support\\v4\\src

三:刷新一下项目,或者对项目执行 close project, openproject.

四:当我执行完以上几步时,还不能用ctrl+点击类进入源码,解决方法是打开搜索类的对话框,我的话快捷键是Ctrl+shit+H,搜索jar里面的一个类,比如android.support.v4里的ListFragment,点击可以看到源码。然后就可以直接点击类看源码了。(类似的bug真是浪费程序员绳命的坑)

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

时间: 2024-08-02 13:24:50

The Jar of this class file belongs to container 'Android Dependencies' which does not allow modifica的相关文章

MyEclipse中android 项目如何解决第三方jar无法关联源码的问题( The JAR of this class file belongs to container 'Android Private Libraries' which does not allow modifications to source attachments on its entries.)

若我们要为第三方jar(android-support-v4.jar)关联源码通常的做法是 右键项目 单击菜单Properties 单击菜单 Java Build Path 单击 Libraries 选项卡 单击展开 Android Private Libraries 单击展开 android-support-v4.jar 单击 Source attachment 再单击 右边的 Edit 选择源码路径 但是问题来了,我们在步骤8时会发现 edit 按钮是禁用的,这样我们就无法给jar选择源码路

我的Android进阶之旅------>Android无第三方Jar包的源代报错:The current class path entry belongs to container ...的解决方法

今天使用第三方Jar包afinal.jar时候,想看一下源代码,无法看 然后像添加jar对应的源码包,也无法添加相应的源代码,报错如下:The current class path entry belongs to container 'Android Dependencies' which does not allow user modifications to source attachments on its entries . 如下图所示: 解决方法: 1.接着在工程目录下新建一个lib

File Manager文件管理应用android源码

这个刚刚在安卓教程网那里看到的,File Manager文件管理应用android源码,这个是File Manager文件管理应用源码,源码filemanager,一个开源的文件管理器完整源码,文件查询速度非常快,功能基础简单,很适合在这个基础上做增量开发,现在还在开发中可以在google play上下载其beta版本. 可能用到的源码片段:http://code.662p.com/list/173_1.html 使用说明: 详细说明:http://android.662p.com/thread

FileOutputStream报错"File not Found" (Android)

问题描述: 使用FileOutputStream,根据文档上看,new FileOutputStream(path),如果path路径下的文件不存在,则自动创建新的文件. 但是在使用过程中, path = Environment.getExternalStorageDirectory().getPath() + "/document/mine/www/te.text"; 此时new一个FileOutputStream,会报“File not found”的异常. 问题分析: 修改pat

Libs文件夹下的Jar文件为什么不会自己主动放在Android Private Libraries文件夹下

简而言之:这个问题就是由jar包反复冲突了! 这个问题一開始我出现了一种"自以为是"的答案,在Android Private Libraries文件夹下的是会打包到project可执行文件其中去的,而不自己主动编译的原因是由于Libs以下的jar文件太大导致的,可是显然在执行的时候就直接报错了--class not found! 那么非常明显不是这个问题! 事实上呢.是在Libs文件夹以下有一个android-support-v4.jar.而假设你的project中有引入其它的libr

Android 引用库项目,Debug 库项目

转自:http://www.cnblogs.com/xitang/p/3615768.html#commentform 使用引用项目,无法追到源代码,无法Debug库项目The JAR of this class file belongs to container 'Android Dependencies' which does not allow modificasource not found 1.库项目建立 新建Android项目,下一步 ,有一个复选  as a Libray 勾上 库

关于Android多项目依赖在Eclipse中无法关联源代码的问题解决 (android dependencies 源码)

转载于:http://www.cnblogs.com/flashlm/archive/2013/02/22/eclipse-android-project-dependencies-does-not-allow-modifications-to-source-attachments.html 被Eclipse中Android依赖项目无法关联源代码的问题困扰了许久,终于得到解决,大大提高了开发效率. 问题描述: 项目有A,B两个Android Project组成, B是Android Librar

Android开发技巧之查看外部依赖jar的源码_android private libralies does not allow modifications to source

在Eclipse中开发android的应用程序时,有时想查看函数的内部实现,但是当在函数上点击ctrl和鼠标左键的时候, 往往出现如下提示: Class File Editor Source not found The JAR of this class file belongs to container 'Android'  which does not allow modifications to source attachments on its entries. 最普遍常见的是andro

android ADT 无法查看第三方jar源代码

Source not foundThe JAR of this class file belongs to container 'Android Private Libraries' which does not allow modifications to source attachments on its entries. 引用了netty-all-4.1.0.CR3.jar,平常开发的时候想看代码,不能点击查看,只能是切过去,源码那边搜索,很不方便. 查看了网上资料,亲测有效 1:引用的j