I have written a sample application on using TabHost
. I am getting the following error:
Conversion to Dalvik format failed with error 1
How do I resolve the above issue?
I have written a sample application on using TabHost
. I am getting the following error:
Conversion to Dalvik format failed with error 1
How do I resolve the above issue?
First, update to the very latest ADT. I had the identical issue and it was caused by a bug in the tools.
Second, clean the affected project and try again.
I was getting this because I had manually added android.jar to the build libraries because it was saying it wasn't finding the android libraries. The fix was to...
Remove android.jar from the build libraries
Right click on the project, go to "Android Tools", and select "Fix Project Properties"
Hope this helps.