NoClassDef always points me to think about Classpath, or
inconsistencies between packages on your system (perhaps you are
running a different version of Android out of eclipse, and linking to
a different library package on your system).

Maybe not that helpful, but something I was thinking about that may
point you to examine your system configuration, which is likely the
problem (as your code looks simple from what you have posted).

On Aug 9, 2:47 pm, Jack Ha <jack...@t-mobile.com> wrote:
> Which line in the code that caused the exception? Can you post the
> complete stack trace here?
>
> --
> Jack Ha
> Open Source Development Center
> ・T・ ・ ・Mobile・ stick together
>
> The views, opinions and statements in this email are those of
> the author solely in their individual capacity, and do not
> necessarily represent those of T-Mobile USA, Inc.
>
> On Aug 9, 2:20 pm, trostum <tros...@gmail.com> wrote:
>
> > Hi.
>
> > I was following this 
> > tutorial:http://mobiforge.com/developing/story/using-google-maps-android
> > on creating map activities, Now i am unable to understand why my
> > application crashes. I get a NoClassDefFoundError and that exception
> > is caused by a  Caused by: java.lang.IllegalAccessError: cross-loader
> > access from pre-verified class.
>
> > Now i have added the <uses-library
> > android:name="com.google.android.maps" /> as a child element to my
> > aplication and
> > <uses-permission
> > android:name="android.permission.ACCESS_FINE_LOCATION"></uses-
> > permission> and
> > <uses-permission android:name="android.permission.INTERNET"/>
> > as children of the Manifest element.
>
> > My avd is running on api level 4 with the google apis.
>
> > What is wrong? i have searched the web, but nnot found a solution to
> > my problem.
>
> > Appreciate any thoughts or comments on what might be wrong....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to