app not accepting gmap in xml file

后端 未结 3 772
误落风尘
误落风尘 2020-12-12 03:13

I am developing app based on gmap.

For that i am following this doccument.

Its giving me error on mainactivity.xml for following code:



        
3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 03:34

    Try this SupportMapFragment instead of MapFragment in last line also look your fragment tag.

    
    
    
    
    
     
    
    
    

    Refer this Example

提交回复
热议问题