此类文件的Jar属于容器'Android Private Libraries',它不允许修改其条目上的源附件

时间:2015-01-18 10:45:41

标签: java android eclipse jsoup

我在项目中将jsoup库添加到/ lib文件夹。

调试时,我收到以下错误:

The Jar of this class file belongs to container 'Android Private Libraries' which does not allow modifications to source attachments on its entries

以下是错误指向的代码段:

              Document htmlFile = null;
                try {

                    htmlFile = Jsoup.connect("www.someURL.com").get();
                } catch (IOException e) {

                    e.printStackTrace();
                }       

导致错误的原因是什么以及如何解决?

感谢任何帮助。

0 个答案:

没有答案