Which exact JDK are you using ? I believe some JDKs create class files that
are not supported by dex yet

On Mon, Mar 30, 2009 at 2:44 AM, Bill Michaelson <[email protected]>wrote:

> I've been using ant to build my .apk on one of my office systems.  Works
> fine.  Now I'm preparing for a trip and I want to continue development on my
> netbook, but I'm haviing trouble with the build process.  It appears to run
> the compiler OK, and generates a set of class files identical to that on my
> first system (verified by checksums), but the netbook build fails in the dx
> phase with messages as shown below.  I don't know where to look to determine
> what is different about the netbook installation that causes different
> behavior, and I don't have a very good idea about how to interpret what the
> messages are telling me in order to determine the cause or how to correct
> it.  Help would be appreciated.
>
> dex:
>      [echo] Converting compiled files and external libraries into
> bin/classes.dex...
>     [apply]
>     [apply] trouble processing:
>     [apply] invalid constant pool index 0000
>     [apply] ...while parsing attributes[1]
>     [apply] ...while parsing Code attribute at offset 00000715
>     [apply] ...while parsing attributes[0]
>     [apply] ...while parsing methods[0]
>     [apply] ...while parsing net/from/apprise/Apprise.class
>     [apply] ...while processing net/from/apprise/Apprise.class
>     [apply]
>     [apply] trouble processing:
>     [apply] invalid constant pool index 0000
>     [apply] ...while parsing attributes[1]
>     [apply] ...while parsing Code attribute at offset 000000ff
>     [apply] ...while parsing attributes[0]
>     [apply] ...while parsing methods[0]
>     [apply] ...while parsing net/from/apprise/R$attr.class
>     [apply] ...while processing net/from/apprise/R$attr.class
>     [apply]
> ...more stuff like this...
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to