1

So I have a MainActivity and a SubActivity and I want the SubActivity to extend a MapActivity. But the program would not let me do this. It says that MapActivity cannot be resolved to a type. How can I get the SubActivity to extend MapActivity?

Vladimir Mironov
  • 30,514
  • 3
  • 65
  • 62
littledevils326
  • 689
  • 3
  • 11
  • 19

2 Answers2

1

Check your build path, you need the Google APIs, it contains the "maps.jar" you need ;)

0

Google Map API is a separate SDK. Choose it in packages manager or set your project's build target to Google API.

Sam R.
  • 16,027
  • 12
  • 69
  • 122