How to remove a dependency from my Android project in Eclipse

jimbob picture jimbob · Apr 25, 2012 · Viewed 16.3k times · Source

When I highlight my project, go to properties, select java build path and then try to remove an Android Dependency from my list of Android dependencies the remove button is grey'd out. How can I remove that specific dependency?

Answer

Fran Marzoa picture Fran Marzoa · Jul 9, 2012

JFTR:

I have had similar problem after a messed merge of two projects branches on Eclipse. I could revert the merge as I did not commited yet, but Eclipse project files that I do not store in my repository was messed.

The solution for me was to:

  1. Delete the error message from "Problems" view.
  2. Clean the project (Project / Clean...)

Solved!