Android – A resource exists with a different case

androideclipse

I'm unable to build my android app due to a strange error:

Description Resource Path Location Type The project was not built due
to "A resource exists with a different case:
'/ProjectName/bin/classes/com/Name/ProjectName'.". Fix the
problem, then try refreshing this project and building it since it may
be inconsistent ProjectName Unknown Java Problem

My file structure is the following: http://pastebin.com/6P6mEftD

I checked for files that had almost the same name and I couldn't find any. This was marked as the solution in a previously asked question that described the same error.

Best Answer

I had the same "resource exists with a different case" error.

The fix I had to make was in the AndroidManifest.xml file. My "package" parameter in the manifest XML tag did not exactly match the package name in my Java files. I suggest you look in the manifest XML and see if you spot the naming issue there.