wufoo
wufoo

Reputation: 14611

Latest ADT updates (2012-03-21) break my Android projects

Anyone know what's borked in the v17 ADT updates?

I tried many of the fixes here (issue "Conversion to Dalvik format failed with error 1" on external JAR) but to no avail, nothing compiles. I keep getting errors in the console about "Conversion to Dalvik format failed with error 1".

I eventually restored everything from backups taken last night but would like to know how to update my (Linux) system to v17 cleanly. Anyone have better luck with it?

Upvotes: 0

Views: 705

Answers (3)

wufoo
wufoo

Reputation: 14611

Just a follow up - I finally got this working. Part of my problem was in the way I was using library projects. I have an Eclipse library project (mainapp) which incorporates the android facebook sdk (fblib) as a library. I then have a third project (newapp) which uses mainapp as a library. "chaining" these projects together as libraries needs to be done differently at each level I guess. See here for more info.

fblib (library)         
     \                 
      \               
      mainapp (library)
                     \
                      \
                       newapp (final application)

Upvotes: 0

areyling
areyling

Reputation: 2191

I was getting the same thing. If you've followed the instructions for enter link description here and are still getting that error like I was, do a clean on all of your projects--I had set them up correctly, but needed to do a clean yet.

Upvotes: 0

Sergey Glotov
Sergey Glotov

Reputation: 20356

Probably you need to remove libraries from Build Path.
Full instruction here: Fix (some) problems with libraries in the ADT 17 Plugin

Upvotes: 1

Related Questions