Android : Support MapFragment Returns null
问题 I have updated the android SDK to 5.0 and my previous project is not working on it(which worked correctly in 4.4.2). I have an class which extends fragment public class MapFragment extends Fragment{ // } In this class i have inflated a layout with google support mapfragment <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/map_tile_layout" android:layout_width="match_parent" android:layout_height="match_parent"