Google Map Displaying Grey Squares

前端 未结 3 1877
陌清茗
陌清茗 2021-01-25 01:51

I\'ve made a very simple app that just displays a Google map. However, it only seems to be displaying gray squares.

I\'ve troubleshooted and have done virtually everyth

3条回答
  •  迷失自我
    2021-01-25 02:18

    You need to add

        
    

    into you manifest

    Note: If you are using both NETWORK_PROVIDER and GPS_PROVIDER, then you need to request only the ACCESS_FINE_LOCATION permission, because it includes permission for both providers. (Permission for ACCESS_COARSE_LOCATION includes permission only for NETWORK_PROVIDER.)

提交回复
热议问题