Binary XML file line #15: Error inflating class fragment

前端 未结 2 915
醉梦人生
醉梦人生 2021-01-26 09:51

i have this xml which contains google maps v2:



        
2条回答
  •  [愿得一人]
    2021-01-26 10:28

    If you are running your code for API level <11, use FragmentActivity instead of extending Activity and in XML, use "com.google.android.gms.maps.SupportMapFragment"

提交回复
热议问题