Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Conversion to Dalvik format failed with error 1 Solution? [duplicate]

Tags:

android

I was programming an application for android, after i added a tab layout to the program an error showed up to:

Conversion to Dalvik format failed with error 1

I have tried cleaning the project and looking at all the other solution to the problem on this website. Has someone also found some obscure solution to this error?

like image 221
YoKaGe Avatar asked Jul 13 '11 18:07

YoKaGe


2 Answers

Please see this thread "Conversion to Dalvik format failed with error 1" on external JAR

more information here: Reason of Conversion to dalvik format failed with error 1

like image 165
Vector Avatar answered Oct 06 '22 02:10

Vector


For those of you reaching here in the last days (see this post date), the last upgrades to ADT 14 have been causing every android project which uses an android library project to fail building with that error. I've tried this solution and it worked for me.

Tu sum it up, if you are using android library projects:
Package Explorer, right-click->Remove From Build Path (ok to unlink), on all the XXX_src in your projects of your workspace.

like image 24
mamuso Avatar answered Oct 06 '22 02:10

mamuso