Google map displaying only blank tiles android

后端 未结 5 1860
独厮守ぢ
独厮守ぢ 2020-12-05 21:53

I have implemented google map in my app.But its display only blank grids.I have done changes in AndroidManifest.xml file and also included API key in layout file of map acti

5条回答
  •  渐次进展
    2020-12-05 22:38

    This may sound silly, but I kept encountering this problem until I realized that the tags need to be direct children to the element, rather than the element. I had erroneously been putting them right after the tag. So the final structure of your AndroidManifest.xml file should be something like this:

    
    
        
    
        
        
        
    
        
            
                
                    
                    
                
            
    
            
    
        
    
    

    Hope this helps anyone who was making the same mistake!

提交回复
热议问题