First, I watched out here: Start FragmentActivity from Activity and now I have the following problem:
MapsActivity:
public class Map
as you are extending FragmentActivity
which indicates you are using Support library v4 compatible with lower version of android. Replace MapFragment
with SupportMapFragment
inside your xml file. SupportMapFragment
is the one to use with the Android Support package. MapFragment
is for the native API Level 11 version of fragments.