Remove item from “Android Private Libraries” grayed out. Cannot remove jar

≯℡__Kan透↙ 提交于 2020-01-04 13:44:01

问题


I have an Eclipse project and I am trying to update a library into a newer Jar file.

However the Eclipse Project will not let me remove the old library?

I closed eclipse and attempted to just manually delete it from the folder and reboot eclipse but it still won't let me compile now because the old "jar file is missing"

Any ideas?

image update:


回答1:


I had the same question and the following solution works for me.

  1. In the Order and Export tab, cancel the checkbox of Android Private Libraries and click OK to save.
  2. Re-open this property page and you will find the old library is updated.

I don't know if it is just a bug in Eclipse. Hope this helps!




回答2:


Delete the library .jar from the /libs folder




回答3:


You can create a new project without that jar and merge all code and resources of project this is an alternative




回答4:


I just choice i want delete .jar at the "libs" folder , then delete it ,then it will auto disappear at Android Private Libraries




回答5:


try to delete the library manually. C:/eclipse/plugins/somewhere.jar

Here are are all the libraries of eclipse(android,and everything extra like jar files)

The problem is that when you have two libraries version (3.4 and 3.7.6) for example they have some same files that cause dublicate entries and more unexpected errors.



来源:https://stackoverflow.com/questions/25077689/remove-item-from-android-private-libraries-grayed-out-cannot-remove-jar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!