On Apr 22, 3:22 pm, Mark Fayngersh <[email protected]> wrote:
> Exception in thread "main" java.lang.VerifyError: (class: byteCode, method:
>
> > main signature: ([Ljava/lang/String;)V) Expecting to find object/array on
> > stack
>
> Does anyone understand what this means? If my source helps, I will paste it
> at the end of this email. I appreciate any guidance and attempts to figure
> this out. I apologize again for android ambiguity.
[...]
> >     bipush 42
> >     astore_2
>
> >     aload_2

You pushed the integer 42 onto the stack, and then used the astore_2
instruction, which is expecting to find an object or array.  I think
you wanted istore_2 there, and an iload_2 after it.

--~--~---------~--~----~------------~-------~--~----~
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