Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a dependency from my Android project in Eclipse

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?

like image 670
jimbob Avatar asked Apr 25 '12 13:04

jimbob


People also ask

How do I remove a module from an Android app?

Step 1: First, go to the project section on the left-hand side of the Android studio. Step 2: Right-click on the project whose module you want to delete and go to the option of Load/Unload modules. Click on the module which you want to delete and click on unload button.

How do you remove one of the binary dependencies?

Using console on project root folder type sudo vi project. properties. Go to the line that you want to remove and delete it (you can type double d to remove a line --> dd )

What is a dependency in Android?

Dependency injection (DI) is a technique widely used in programming and well suited to Android development. By following the principles of DI, you lay the groundwork for good app architecture. Implementing dependency injection provides you with the following advantages: Reusability of code. Ease of refactoring.


1 Answers

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!

like image 114
Fran Marzoa Avatar answered Sep 25 '22 08:09

Fran Marzoa