NoSuchFieldError: No static field MapAttrs of type when Using MapFragment with Play Services 6.5

后端 未结 5 750
南方客
南方客 2020-12-07 22:56

Maybe I am missing something here, but I am not able to use the new Maps only dependency in Play Services 6.5

I get the following exception:

java.la         


        
5条回答
  •  渐次进展
    2020-12-07 23:16

    I think you have layout in both library and module with same name or inflating multiple xml layout with duplicate resource id.

    Find map_attrs in play-services-lib and replace with this code:

    
    
       
        
          
          
          
          
          
    
    
    
        
        
        
        
        
        
        
    
    
    
        
        
        
        
        
        
        
        
        
        
      
    
    
    

提交回复
热议问题