HoloEverywhere error: build path contains duplicate entry src

13,912

Solution 1

This is how mine solved:

property->resource->Android, tick an Android build target then click OK

Solution 2

Had the same issue,

try this:

Just import it with the duplicate src error, then right click on the HoloeEverywhere library project and select properties. In properties select Android (on the left) and under Project Build Target check if the Target Name Android 4.2 (or whatever yours is) is checked. Mine wasn't. If you check it, it should fix the problem.

Solution 3

Both projects "HoloEverywhere" and "ActionBarSherlock" has name "library". So, you probably should rename them. Then import both projects (ignore HoloEverywhere error). Choose "Android option" in "HoloEverywhere" project properties. Remove all bad references and add new reference to "ActionBarSherlock" project library.

Solution 4

To fix this you have to right click on the project name on the left hand side and choose properties, then choose Android and add a tick to the Build target e.g Android 4.0, don't forget to apply and click ok afterwards.

Share:
13,912
Vinuthan
Author by

Vinuthan

Updated on June 06, 2022

Comments

  • Vinuthan
    Vinuthan about 2 years

    I'm developing an app currently which shall use ActionBarSherlock and HoloEverywhere however whenever I try to import the HoloEverywhere library into eclipse I get the following error:

    Build path contains duplicate entry: 'src' in project 'library'

    I have checked the library folder and there is no duplicate in it but it still complains.

    Thank you in advance.