Google Map is not loading due to inflate exception

前端 未结 3 1575
無奈伤痛
無奈伤痛 2021-01-17 02:29

I am using Google Maps v2 in my application. The key is correctly generated, all the permissions exist in manifest. I followed the tutorial of Google Maps v2. I followed eac

3条回答
  •  迷失自我
    2021-01-17 03:21

    if you are using android-support-v4.jar (for backward support) then try SupportMapFragment

    replace this line class="com.google.android.gms.maps.MapFragment"

    with class="com.google.android.gms.maps.SupportMapFragment"

    and also put in manifest.xml

     
     
    

提交回复
热议问题