Google Maps v2 Simple Application Not Working

前端 未结 3 451
抹茶落季
抹茶落季 2021-01-23 14:51

I am following this tutorial. Here are all my related files: activity_main.xml




        
3条回答
  •  闹比i
    闹比i (楼主)
    2021-01-23 15:10

    You need to have two meta-data fields. One is required for google play services in general, the second one on top for using maps.

    Example snippet from the sample application you should have in [android-sdk]/extras/google/google_play_services/samples/maps/AndroidManifest.xml

      
        
    
        
    
        
    

提交回复
热议问题