> With 1.5 installed, I can no longer build my > project, even when I target v1.1. I get a Dalvik conversion failure > type 2.
I sometimes get this for my projects as well. My "solution" 1) Make sure you delete all generated .java files in the src directory, like R.java (or Manifest.java, or AIDL .java files) 2) Modify a random java file of your project or the Manifest file slightly (e.g. include a white space somewhere in a comment) and save 3) Clean the project and rebuild. 4) Repeat steps 2 & 3 until the build is successful. With some chance it will build properly. The strange step is (2): Simply re-building the project is not sufficient. Somehow one needs to modify any file to let the system know that it needs to purge all internal caches or so(?) Let me know if this works for you... Peli On May 12, 2:53 am, Keith Wiley <[email protected]> wrote: > My code builds fine under the old v1.1_r1 SDK. I've been working with > it like that for months. With 1.5 installed, I can no longer build my > project, even when I target v1.1. I get a Dalvik conversion failure > type 2. How can the 1.1 included with 1.5 fail when the old 1.1 > works? This is VERY frustrating. I am at a total loss for how to fix > this. I really expected the 1.1 included with 1.5 to work exactly > like the old 1.1. > > In addition, I'm pretty unclear as to how to revert to the old 1.1 SDK > so I can get up and running again, even if it's with the older > system. At least that worked. Eclipse seems really locked into the > new SDK now. I tried reverting through the software updates interface > but...I'm not sure...it's not really working, I'm unclear what the > problem is. > > Is it easy to roll back to an earlier SDK or am I totally dead in the > water if I never figure out how to solve this Dalvik conversion > problem? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

