Duplicate class com.google.android.gms.location.places.zza found

后端 未结 1 1477
梦毁少年i
梦毁少年i 2021-01-21 22:16

These are my dependencies in manifest file


    implementation fileTree(dir: \'libs\', include: [\'*.jar\'])
    implementation \'com.android.support:appcompat-v         


        
相关标签:
1条回答
  • 2021-01-21 22:53

    Remove the following dependency:

    implementation 'com.google.android.gms:play-services:11.4.0'
    

    From the docs:

    Note: Don't use the combined play-services target. It brings in dozens of libraries, bloating your application. Instead, specify only the specific Google Play services APIs your app uses.

    Only use specific libraries, example:

    implementation 'com.google.android.gms:play-services-analytics:16.0.8'
    
    0 讨论(0)
提交回复
热议问题