Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HoloEverywhere error: build path contains duplicate entry src

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.

like image 496
Vinuthan Avatar asked Jan 11 '13 13:01

Vinuthan


3 Answers

This is how mine solved:

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

like image 123
Arch1tect Avatar answered Nov 03 '22 21:11

Arch1tect


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.

like image 24
Art Avatar answered Nov 03 '22 20:11

Art


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.

like image 1
Holoceo Avatar answered Nov 03 '22 20:11

Holoceo