>From the top of
http://developer.android.com/guide/tutorials/views/hello-mapview.html:

"""

This tutorial requires that you have the Google Maps external library
installed in your SDK environment. By default the Android SDK includes the
Google APIs add-on, which in turn includes the Maps external library. If you
don't have the Google APIs SDK add-on, you can download it from this
location:

http://code.google.com/android/add-ons/google-apis

The Google APIs add-on requires Android 1.5 SDK or later release. After
installing the add-on in your SDK, set your project properties to use the
build target called "Google APIs Add-on". See the instructions for setting a
build target in Developing in Eclipse with
ADT<http://developer.android.com/guide/developing/eclipse-adt.html>
 or Developing in Other
IDEs<http://developer.android.com/guide/developing/other-ide.html>,
as appropriate for your environment.

You will also need to use the android tool to set up an AVD that uses the
Google APIs deployment target. See Android Virtual
Devices<http://developer.android.com/guide/developing/tools/avd.html>
for
more information. Once you have set up your environment, you will be able to
build and run the project described in this tutorial

"""

Make sure you've followed the directions to install the Google APIs add-on
and configured your project to use the Google APIs target.  That should get
MapActivity on the classpath.


Steve



On Mon, Aug 16, 2010 at 11:17 PM, kanaga <[email protected]>wrote:

>  The import com.google.android.maps.MapActivity cannot be resolved to a
> type.
>
> --
> 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

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