right click on project and then select the JavaBuildPath in that select the libraries tab and check whether there are two android jar files .If yes delete one of them and then save the project and clean it after that your error may get disappeared.
Kind Regards. Ch.B.Sagar On Wed, Feb 29, 2012 at 7:11 PM, Todd Sjolander <[email protected]>wrote: > I've seen this happen from time to time in Eclipse. It's not a code > issue. I would recommend trying a few things: > > 1. Make sure you have the right SDK version and APIs included in your > project. Sometimes Eclipse will change these on you. Once or twice > when seeing this error, I've had to change to another SDK version, do > a clean build, change back to my original SDK version, and then do > another clean build. > 2. Do a clean build > 3. Reboot Eclipse > 4. If none of those work, you might need to rebuild your environment. > (Maybe there's a better way to deal with the issue, but this will > almost certainly work.) So that means you've got to remove the > Android SDK(s) entirely, and re-download them. Then you'll have to re- > select the right SDK version for your project and rebuild. > > I hope this helps! > > On Feb 29, 2:37 am, rajesh <[email protected]> wrote: > > Hi all, > > How can i overcome the following error "Dx 1 error; > > aborting Conversion to Dalvik format failed with error 1" > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

