I just prepare small update for my android app, but I get this strange bug when I try to build my app (in debug mode). It will be great if someone smarter could look at this
Check duplicated jar files.
Check lib entries in project.properties.
Clean all the included libs and build from scratch.
You have same jar library included twice. Check your application and all referenced Android libraries and make sure you have all jars included exactly once.
If that does not help, take a look at http://tools.android.com/knownissues. Specifically look at first issue described in Build System section.
Also you can read this post: How to fix the “Conversion to Dalvik format failed with error 1"
I had the same problem. In my case, I had 2 jars in my libs folder, let's say A and B. A was a custom jar that I created and already had B included. This wasn't a problem until I updated to R17.
Solution: I removed B from libs.
I got this error after upgrading to R17.
My cause was different (ie not the *_src issue that occurred in R15). I had two different versions of a library in my "libs" folder. It appears that the Android plugin now automatically adds any jars in "libs" to the "Android Dependencies" section in the Package Explorer. Removing the old jar fixed the problem.
I had same issue when I added android Ocr Api (tess-two) and imported sample application which was using this API but sample application and tess-two api had same packages thats why i was facing this issue, So I removed duplicate packages from my sample application and it was working fine.
for bugs appeared after the SDK update to r17 you could check out this: http://tools.android.com/recent/dealingwithdependenciesinandroidprojects