On Feb 9, 11:26 pm, rajesh bhasin <[email protected]> wrote: > I tried to use a instance of one class ( from the utility package ) in the > code of a class in another package (main package). I tried statements like > import utility.* and even changed the code by making methods static (so tht > i did not have to create an instance ) . But it did not work ...it gives > some error like > ::: > "VFY :Unable to resolve new-instance 69 > VFY : rejecting opcode 0x22 at ......"
The message tells you which class was not found, and which class/ method was trying to create an instance of it. You didn't paste the important parts of the message here. Usually problems like this can be corrected by adding a "uses-library" directive to your manifest. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

