No, that's my problem.  The dx portion of the SDK is extremely
unhelpful.  There are no details at all in the error message.  The
Eclipse Console view notifies me of the dalvik conversion error 2 but
it gives no useful information, such as the class file it is
converting or a description of the error.  The Error view is similarly
empty.   I don't want to sound blameful, but this is a horrible way to
implement the dalvik converter.  It makes no effort at all to show me
what's wrong, so it leaves me completely helpless to do anything about
it.

How do I run dx directly?  I know it shows a simple list of commands
if I run it without a command, but that's just syntactic instruction.
I always get errors from it about paths not matching.  I tried running
it from various parent directories but ultimately I can't get it to
work.  I want to try it on the command line and see if it prints more
information than it does through Eclipse.

Bottom line, once Eclipse has compiled a bunch class files from java
source, how do I go in and run dx on those class files?

Thanks.

On May 12, 7:24 am, David Turner <[email protected]> wrote:
> As far as I know, the 1.1 system image available in the 1.5 SDK is the same
> one than the one that came with the 1.1 SDK
> On the other hand, the tools that come with the SDK have evolved. The Dalvik
> conversion happens at built time, before anything
> is run on the 1.1. system in the emulator.
>
> Do you have more details about the error message (e.g. which source file
> causes it, for example).
>
> On Tue, May 12, 2009 at 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to