Pls check your

AndroidManifest.xml,

and make sure

<uses-library android:name="com.google.android.maps" />

is a child of <application >.

On Sun, Nov 14, 2010 at 2:07 AM, Chister Nordvik <[email protected]> wrote:

> Did you ever figure this one out? I tried to create a very simple map
> application, but got the "stub" exception at startup both on device
> and in emulator:
> E/AndroidRuntime(  263): Caused by: java.lang.RuntimeException: stub
> E/AndroidRuntime(  263):        at
> com.google.android.maps.MapActivity.<init>(Unknown Source)
>
> Followed the tutorial from here:
> http://developer.android.com/guide/tutorials/views/hello-mapview.html
> with no success. Must be something with the setup?
>
> -Christer
>
>
>
>
> On Nov 2, 1:48 pm, Adam Hammer <[email protected]> wrote:
> > That is the entire error. 2 Line stack trace, I called the function
> > and I get the "Stub"
> >
> > I've managed to get MapView working in a activity with Opengl and
> > using offscreen rendering. It's actually performing very well.
> >
> > I'll go back and try in a LWP once I iron out all the activity bugs.
> >
> > On Nov 1, 9:41 am, TreKing <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > On Fri, Oct 29, 2010 at 6:00 PM, Adam Hammer <[email protected]>
> wrote:
> > > > I get an error
> >
> > > >java.lang.RuntimeException:stub
> > > >   at com.google.android.maps.MapView.<init> (Unknown Source)
> >
> > > Is that really the entire error?
> >
> > > Regardless, read the MapView documentation. It explains where and how
> the
> > > MapView can be used.
> >
> > >
> ---------------------------------------------------------------------------
> ----------------------
> > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> > > transit tracking app for Android-powered devices
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
#programmer

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