Skip to content Skip to sidebar Skip to footer

Duplicate Class Com.google.android.gms.location.places.zza Found

These are my dependencies in manifest file implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0' implementa

Solution 1:

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'

Post a Comment for "Duplicate Class Com.google.android.gms.location.places.zza Found"