Thank you guys,

Yes I had a mapView inside the other activity and it was my mistake
from copy paste. I was beating my head but thanks for pointing it out.

On Jul 22, 8:26 pm, Steve Howard <[email protected]> wrote:
> On Thu, Jul 22, 2010 at 10:32 AM, Achanta <[email protected]> wrote:
> > E/AndroidRuntime( 4985): Caused by:
> > java.lang.IllegalArgumentException: MapViews can only be created
> > inside instances of MapActivity.
>
> Do you have a MapView not inside a MapActivity?
>
> Steve

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