You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
After getting the first bug resolved in #67 then a new appeared.
Execution failed for task ':app:checkDebugDuplicateClasses'.
> 1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class com.google.android.gms.common.api.internal.zza found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.api.internal.zzb found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.api.internal.zzc found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.api.internal.zzd found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.api.zza found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.api.zzb found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.internal.zzb found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.internal.zzq found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.internal.zzr found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
Duplicate class com.google.android.gms.common.internal.zzs found in modules classes.jar (com.google.android.gms:play-services-base:11.4.0) and classes.jar (com.google.android.gms:play-services-basement:16.0.1)
I'm not having any special plugins installed, but here's what my package.json file looks like
@Djip Not sure whether you managed to resolve this. But i'm just gonna put what helped me resolve the error for the benefit of someone else who might be running into the same issue.
Based on android gradle doc, it seems that this error is due to the transitive dependency.
To resolve this, add 'api' dependency in your app.gradle like so:
android{
dependencies{
api 'com.google.android.gms:play-services-base:16.0.1'
api 'com.google.android.gms:play-services-basement:16.0.1'
}
}
Then tns remove platform and re-add again before running the app again.
Hello
After getting the first bug resolved in #67 then a new appeared.
I'm not having any special plugins installed, but here's what my package.json file looks like
I've already added the meta-field to AndroidManifest, and tried to remove platforms, but without luck.
The text was updated successfully, but these errors were encountered: