I am setting up google map v2 in Android. I am using the new technique on adding dependency using this link.\"Android Studio with Google Play Services\"
It did nice
MapActivity
was part of the Google Maps Android v1 API which is now deprecated.
Using the Google Play Services library you will use the Google Maps Android API v2 and then MapActivity
is not available anymore. You need to use the MapFragment
.
You can see an introduction on how to use the MapFragment
in the official documentation.