androidmapactivity

Couldn't extend MapActivity


I am trying to extend MapActivity in my application. But each time I am getting an error. It says that to create a class named MapActivity. What to do? Please help.


Solution

  • You probably haven't done the steps required to set up a Maps project as described in Maps External API Overview. Read the following document, and you should be all set.

    https://developers.google.com/maps/documentation/android/