Cannot import com.google.android.gms:play-services-ads:17.1.1

前端 未结 3 851
滥情空心
滥情空心 2020-12-11 12:12
apply plugin: \'com.android.application\'
   android {
   compileSdkVersion 28

   defaultConfig {
      applicationId \"com.kaiboon0216gmail.homeownerstarterkit\"
          


        
3条回答
  •  自闭症患者
    2020-12-11 12:26

    Because with "com.google.android.gms:play-services-ads:17.1.1" You need to update something.

    You have to Update your AndroidManifest.xml

    
        
            
        
    
    

    And with this:

    
        
            
            
        
    
    

    You can check these links for more detail informations.

    https://developers.google.com/ad-manager/mobile-ads-sdk/android/quick-start#update_your_androidmanifestxml

    https://developers.google.com/admob/android/quick-start#update_your_androidmanifestxml

    Otherwise You have to use "com.google.android.gms:play-services-ads:16.0.0"

提交回复
热议问题