So from which version, rc1, 1.0 or cupcake, the bug in Dalvik is
fixed? Just want to make it easier when communicating with the author
of the apk file.

Thanks,
Johnny

On Feb 7, 4:22 am, fadden <[email protected]> wrote:
> On Feb 6, 7:38 am, johnny <[email protected]> wrote:
>
> > I get an apk file from somewhere. I tried to install it the emulator
> > successfully. (The emulator is built from the latest code in AOSP
> > which should be cupcake or later). But I can't launch the application
> > from the GUI. It complains "The application xxx has stopped
> > unexpectedly." After checking the logcat, I find the message "access
> > to class not allowed". It seems that that process is not allowed to
> > instantiate the Activity class.
>
> This usually happens when the class that the app framework is trying
> to instantiate isn't declared "public".  In some older versions of
> Dalvik this was mistakenly allowed, so if the APK is old enough it
> might need to be rebuilt with a corrected class declaration.
--~--~---------~--~----~------------~-------~--~----~
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