Firestore: Error: Program type already present: com.google.android.gms.internal.measurement.zzeb









up vote
1
down vote

favorite












Updating Firestore core from 16.0.4 to 16.0.5 is giving me the error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzeb


Update for another error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzdz



Update:



Firebase release notes doesn't shows anything about Firestore core 16.0.5 till date, but in Android Studio it's linting for update. So reverted it back to 16.0.4 until there is an official update.




Update 14/11



While compiling now it shows these errors:



com.google.android.gms.internal.measurement.zzdx: can't find referenced method 'boolean zzfy()' in program class com.google.android.gms.internal.measurement.zzdz

com.google.android.gms.internal.measurement.zzeb: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzee: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzeh: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.measurement.internal.zzez: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

com.google.android.gms.measurement.internal.zzfu: can't find referenced method 'void zzb(android.os.Bundle)' in program class com.google.android.gms.internal.measurement.zzef

com.google.android.gms.measurement.internal.zzw: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

there were 7 unresolved references to program class members.

Exception while processing task java.io.IOException: Please correct the above warnings first.


Dependencies:



dependencies 
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
// ViewModel and LiveData
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation 'androidx.lifecycle:lifecycle-common-java8:2.0.0'
// Paging
implementation 'androidx.paging:paging-runtime:2.0.0'
// Android Room
def room_version = "2.1.0-alpha02"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// Jsoup
implementation 'org.jsoup:jsoup:1.11.3'
// Glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'androidx.annotation:annotation:1.0.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
// Firestore
implementation 'com.google.firebase:firebase-core:16.0.5' //.4
implementation 'com.google.firebase:firebase-firestore:17.1.3'
implementation 'com.google.firebase:firebase-auth:16.0.5'
// .4
implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.firebase:firebase-ads:17.1.0'
implementation 'com.firebaseui:firebase-ui-auth:4.2.1'
// Crash Reports
// implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'


apply plugin: 'com.google.gms.google-services'


And



buildscript 
repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.3.0-beta04'
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files





More



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.profile.Recorder$Block.handleException(Recorder.java:55)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:104)
at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 34 more
Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:132)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:117)
at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:101)
at com.android.build.gradle.internal.transforms.ExternalLibsMergerTransform.transform(ExternalLibsMergerTransform.kt:122)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:239)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:235)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
... 51 more
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:65)
at com.android.tools.r8.utils.ExceptionUtils.withD8CompilationHandler(ExceptionUtils.java:43)
at com.android.tools.r8.D8.run(D8.java:90)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:115)
... 56 more
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:59)
... 59 more









share|improve this question























  • Make sure the rest of your dependencies are updated as well.
    – TheWanderer
    Nov 10 at 15:20










  • Everything updated
    – Rajarshi
    Nov 10 at 15:21










  • Try to Run gradle app:dependencies to find conflicting:dependency, look for package com.google.android.gms.internal. Follow This to dig .
    – ADM
    Nov 10 at 16:35











  • Didn't find any com.google.android.gms.internal but found many with .measurement
    – Rajarshi
    Nov 10 at 17:18














up vote
1
down vote

favorite












Updating Firestore core from 16.0.4 to 16.0.5 is giving me the error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzeb


Update for another error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzdz



Update:



Firebase release notes doesn't shows anything about Firestore core 16.0.5 till date, but in Android Studio it's linting for update. So reverted it back to 16.0.4 until there is an official update.




Update 14/11



While compiling now it shows these errors:



com.google.android.gms.internal.measurement.zzdx: can't find referenced method 'boolean zzfy()' in program class com.google.android.gms.internal.measurement.zzdz

com.google.android.gms.internal.measurement.zzeb: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzee: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzeh: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.measurement.internal.zzez: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

com.google.android.gms.measurement.internal.zzfu: can't find referenced method 'void zzb(android.os.Bundle)' in program class com.google.android.gms.internal.measurement.zzef

com.google.android.gms.measurement.internal.zzw: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

there were 7 unresolved references to program class members.

Exception while processing task java.io.IOException: Please correct the above warnings first.


Dependencies:



dependencies 
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
// ViewModel and LiveData
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation 'androidx.lifecycle:lifecycle-common-java8:2.0.0'
// Paging
implementation 'androidx.paging:paging-runtime:2.0.0'
// Android Room
def room_version = "2.1.0-alpha02"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// Jsoup
implementation 'org.jsoup:jsoup:1.11.3'
// Glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'androidx.annotation:annotation:1.0.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
// Firestore
implementation 'com.google.firebase:firebase-core:16.0.5' //.4
implementation 'com.google.firebase:firebase-firestore:17.1.3'
implementation 'com.google.firebase:firebase-auth:16.0.5'
// .4
implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.firebase:firebase-ads:17.1.0'
implementation 'com.firebaseui:firebase-ui-auth:4.2.1'
// Crash Reports
// implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'


apply plugin: 'com.google.gms.google-services'


And



buildscript 
repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.3.0-beta04'
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files





More



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.profile.Recorder$Block.handleException(Recorder.java:55)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:104)
at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 34 more
Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:132)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:117)
at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:101)
at com.android.build.gradle.internal.transforms.ExternalLibsMergerTransform.transform(ExternalLibsMergerTransform.kt:122)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:239)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:235)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
... 51 more
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:65)
at com.android.tools.r8.utils.ExceptionUtils.withD8CompilationHandler(ExceptionUtils.java:43)
at com.android.tools.r8.D8.run(D8.java:90)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:115)
... 56 more
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:59)
... 59 more









share|improve this question























  • Make sure the rest of your dependencies are updated as well.
    – TheWanderer
    Nov 10 at 15:20










  • Everything updated
    – Rajarshi
    Nov 10 at 15:21










  • Try to Run gradle app:dependencies to find conflicting:dependency, look for package com.google.android.gms.internal. Follow This to dig .
    – ADM
    Nov 10 at 16:35











  • Didn't find any com.google.android.gms.internal but found many with .measurement
    – Rajarshi
    Nov 10 at 17:18












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Updating Firestore core from 16.0.4 to 16.0.5 is giving me the error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzeb


Update for another error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzdz



Update:



Firebase release notes doesn't shows anything about Firestore core 16.0.5 till date, but in Android Studio it's linting for update. So reverted it back to 16.0.4 until there is an official update.




Update 14/11



While compiling now it shows these errors:



com.google.android.gms.internal.measurement.zzdx: can't find referenced method 'boolean zzfy()' in program class com.google.android.gms.internal.measurement.zzdz

com.google.android.gms.internal.measurement.zzeb: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzee: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzeh: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.measurement.internal.zzez: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

com.google.android.gms.measurement.internal.zzfu: can't find referenced method 'void zzb(android.os.Bundle)' in program class com.google.android.gms.internal.measurement.zzef

com.google.android.gms.measurement.internal.zzw: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

there were 7 unresolved references to program class members.

Exception while processing task java.io.IOException: Please correct the above warnings first.


Dependencies:



dependencies 
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
// ViewModel and LiveData
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation 'androidx.lifecycle:lifecycle-common-java8:2.0.0'
// Paging
implementation 'androidx.paging:paging-runtime:2.0.0'
// Android Room
def room_version = "2.1.0-alpha02"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// Jsoup
implementation 'org.jsoup:jsoup:1.11.3'
// Glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'androidx.annotation:annotation:1.0.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
// Firestore
implementation 'com.google.firebase:firebase-core:16.0.5' //.4
implementation 'com.google.firebase:firebase-firestore:17.1.3'
implementation 'com.google.firebase:firebase-auth:16.0.5'
// .4
implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.firebase:firebase-ads:17.1.0'
implementation 'com.firebaseui:firebase-ui-auth:4.2.1'
// Crash Reports
// implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'


apply plugin: 'com.google.gms.google-services'


And



buildscript 
repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.3.0-beta04'
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files





More



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.profile.Recorder$Block.handleException(Recorder.java:55)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:104)
at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 34 more
Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:132)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:117)
at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:101)
at com.android.build.gradle.internal.transforms.ExternalLibsMergerTransform.transform(ExternalLibsMergerTransform.kt:122)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:239)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:235)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
... 51 more
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:65)
at com.android.tools.r8.utils.ExceptionUtils.withD8CompilationHandler(ExceptionUtils.java:43)
at com.android.tools.r8.D8.run(D8.java:90)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:115)
... 56 more
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:59)
... 59 more









share|improve this question















Updating Firestore core from 16.0.4 to 16.0.5 is giving me the error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzeb


Update for another error:



Error: Program type already present: com.google.android.gms.internal.measurement.zzdz



Update:



Firebase release notes doesn't shows anything about Firestore core 16.0.5 till date, but in Android Studio it's linting for update. So reverted it back to 16.0.4 until there is an official update.




Update 14/11



While compiling now it shows these errors:



com.google.android.gms.internal.measurement.zzdx: can't find referenced method 'boolean zzfy()' in program class com.google.android.gms.internal.measurement.zzdz

com.google.android.gms.internal.measurement.zzeb: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzee: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.internal.measurement.zzeh: can't find referenced method 'void transactAndReadExceptionReturnVoid(int,android.os.Parcel)' in program class com.google.android.gms.internal.measurement.zzq

com.google.android.gms.measurement.internal.zzez: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

com.google.android.gms.measurement.internal.zzfu: can't find referenced method 'void zzb(android.os.Bundle)' in program class com.google.android.gms.internal.measurement.zzef

com.google.android.gms.measurement.internal.zzw: can't find referenced method 'zzea(android.os.Looper)' in program class com.google.android.gms.internal.measurement.zzea

there were 7 unresolved references to program class members.

Exception while processing task java.io.IOException: Please correct the above warnings first.


Dependencies:



dependencies 
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
// ViewModel and LiveData
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation 'androidx.lifecycle:lifecycle-common-java8:2.0.0'
// Paging
implementation 'androidx.paging:paging-runtime:2.0.0'
// Android Room
def room_version = "2.1.0-alpha02"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// Jsoup
implementation 'org.jsoup:jsoup:1.11.3'
// Glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'androidx.annotation:annotation:1.0.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
// Firestore
implementation 'com.google.firebase:firebase-core:16.0.5' //.4
implementation 'com.google.firebase:firebase-firestore:17.1.3'
implementation 'com.google.firebase:firebase-auth:16.0.5'
// .4
implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.firebase:firebase-ads:17.1.0'
implementation 'com.firebaseui:firebase-ui-auth:4.2.1'
// Crash Reports
// implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'


apply plugin: 'com.google.gms.google-services'


And



buildscript 
repositories
google()
jcenter()

dependencies
classpath 'com.android.tools.build:gradle:3.3.0-beta04'
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files





More



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.profile.Recorder$Block.handleException(Recorder.java:55)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:104)
at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 34 more
Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: C:Users\...\appbuildintermediatestransformsdexBuilderdebug.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug1.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug2.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug3.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug4.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug5.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug6.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug7.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug8.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug9.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug10.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug11.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug12.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug13.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug14.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug15.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug16.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug17.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug18.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug19.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug20.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug21.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug22.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug23.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug24.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug25.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug26.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug27.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug28.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug29.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug30.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug31.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug32.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug33.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug34.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug35.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug36.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug37.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug38.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug39.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug40.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug41.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug42.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug43.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug44.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug45.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug46.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug47.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug48.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug49.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug50.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug51.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug52.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug53.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug54.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug55.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug56.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug57.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug58.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug59.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug60.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug61.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug62.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug63.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug64.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug65.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug66.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug67.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug68.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug69.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug70.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug71.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug72.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug73.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug74.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug75.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug76.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug77.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug78.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug79.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug80.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug81.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug82.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug83.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug84.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug85.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug86.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug87.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug88.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug89.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug90.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug91.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug92.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug93.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug94.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug95.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug96.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug97.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug98.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug99.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug100.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug101.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug102.jar, C:Users\...\appbuildintermediatestransformsdexBuilderdebug103.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:132)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:117)
at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:101)
at com.android.build.gradle.internal.transforms.ExternalLibsMergerTransform.transform(ExternalLibsMergerTransform.kt:122)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:239)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:235)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
... 51 more
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:65)
at com.android.tools.r8.utils.ExceptionUtils.withD8CompilationHandler(ExceptionUtils.java:43)
at com.android.tools.r8.D8.run(D8.java:90)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:115)
... 56 more
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: com.google.android.gms.internal.measurement.zzeb
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:59)
... 59 more






android firebase google-cloud-firestore






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 at 10:45

























asked Nov 10 at 15:19









Rajarshi

3001313




3001313











  • Make sure the rest of your dependencies are updated as well.
    – TheWanderer
    Nov 10 at 15:20










  • Everything updated
    – Rajarshi
    Nov 10 at 15:21










  • Try to Run gradle app:dependencies to find conflicting:dependency, look for package com.google.android.gms.internal. Follow This to dig .
    – ADM
    Nov 10 at 16:35











  • Didn't find any com.google.android.gms.internal but found many with .measurement
    – Rajarshi
    Nov 10 at 17:18
















  • Make sure the rest of your dependencies are updated as well.
    – TheWanderer
    Nov 10 at 15:20










  • Everything updated
    – Rajarshi
    Nov 10 at 15:21










  • Try to Run gradle app:dependencies to find conflicting:dependency, look for package com.google.android.gms.internal. Follow This to dig .
    – ADM
    Nov 10 at 16:35











  • Didn't find any com.google.android.gms.internal but found many with .measurement
    – Rajarshi
    Nov 10 at 17:18















Make sure the rest of your dependencies are updated as well.
– TheWanderer
Nov 10 at 15:20




Make sure the rest of your dependencies are updated as well.
– TheWanderer
Nov 10 at 15:20












Everything updated
– Rajarshi
Nov 10 at 15:21




Everything updated
– Rajarshi
Nov 10 at 15:21












Try to Run gradle app:dependencies to find conflicting:dependency, look for package com.google.android.gms.internal. Follow This to dig .
– ADM
Nov 10 at 16:35





Try to Run gradle app:dependencies to find conflicting:dependency, look for package com.google.android.gms.internal. Follow This to dig .
– ADM
Nov 10 at 16:35













Didn't find any com.google.android.gms.internal but found many with .measurement
– Rajarshi
Nov 10 at 17:18




Didn't find any com.google.android.gms.internal but found many with .measurement
– Rajarshi
Nov 10 at 17:18












2 Answers
2






active

oldest

votes

















up vote
0
down vote













Google play services can be updated to com.google.gms:google-services:4.2.0



Try that and check if it works :)






share|improve this answer




















  • No, it didn't worked. By the way, when did it got released, previously 4.1.0 was crashing the app. More at: stackoverflow.com/questions/52658537/…
    – Rajarshi
    Nov 10 at 15:38


















up vote
0
down vote













To solve this, please change the following line of code:



implementation 'com.firebaseui:firebase-ui-auth:4.1.0'


to



implementation 'com.firebaseui:firebase-ui-auth:4.2.1'


And make sure to have also the latest version of Google Play services:



classpath 'com.google.gms:google-services:4.2.0'


Please also add the following dependecy:



implementation 'com.google.firebase:firebase-core:16.0.4'





share|improve this answer






















  • Is already on google-services:4.2.0, updating the ui-auth dependency did not work.
    – Rajarshi
    Nov 13 at 1:43










  • Hi Rajarshi! Have you tried my solution above, does it work?
    – Alex Mamo
    Nov 13 at 9:24










  • No, however, I've updated the post with latest errors
    – Rajarshi
    Nov 14 at 10:45










  • Using the code above, do you still get the initial error?
    – Alex Mamo
    Nov 14 at 11:05










  • yes, also see the second update, firestore core 16.0.5 is not released yet.
    – Rajarshi
    Nov 14 at 15:01










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53240348%2ffirestore-error-program-type-already-present-com-google-android-gms-internal%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Google play services can be updated to com.google.gms:google-services:4.2.0



Try that and check if it works :)






share|improve this answer




















  • No, it didn't worked. By the way, when did it got released, previously 4.1.0 was crashing the app. More at: stackoverflow.com/questions/52658537/…
    – Rajarshi
    Nov 10 at 15:38















up vote
0
down vote













Google play services can be updated to com.google.gms:google-services:4.2.0



Try that and check if it works :)






share|improve this answer




















  • No, it didn't worked. By the way, when did it got released, previously 4.1.0 was crashing the app. More at: stackoverflow.com/questions/52658537/…
    – Rajarshi
    Nov 10 at 15:38













up vote
0
down vote










up vote
0
down vote









Google play services can be updated to com.google.gms:google-services:4.2.0



Try that and check if it works :)






share|improve this answer












Google play services can be updated to com.google.gms:google-services:4.2.0



Try that and check if it works :)







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 10 at 15:29









João Paulo Sena

1




1











  • No, it didn't worked. By the way, when did it got released, previously 4.1.0 was crashing the app. More at: stackoverflow.com/questions/52658537/…
    – Rajarshi
    Nov 10 at 15:38

















  • No, it didn't worked. By the way, when did it got released, previously 4.1.0 was crashing the app. More at: stackoverflow.com/questions/52658537/…
    – Rajarshi
    Nov 10 at 15:38
















No, it didn't worked. By the way, when did it got released, previously 4.1.0 was crashing the app. More at: stackoverflow.com/questions/52658537/…
– Rajarshi
Nov 10 at 15:38





No, it didn't worked. By the way, when did it got released, previously 4.1.0 was crashing the app. More at: stackoverflow.com/questions/52658537/…
– Rajarshi
Nov 10 at 15:38













up vote
0
down vote













To solve this, please change the following line of code:



implementation 'com.firebaseui:firebase-ui-auth:4.1.0'


to



implementation 'com.firebaseui:firebase-ui-auth:4.2.1'


And make sure to have also the latest version of Google Play services:



classpath 'com.google.gms:google-services:4.2.0'


Please also add the following dependecy:



implementation 'com.google.firebase:firebase-core:16.0.4'





share|improve this answer






















  • Is already on google-services:4.2.0, updating the ui-auth dependency did not work.
    – Rajarshi
    Nov 13 at 1:43










  • Hi Rajarshi! Have you tried my solution above, does it work?
    – Alex Mamo
    Nov 13 at 9:24










  • No, however, I've updated the post with latest errors
    – Rajarshi
    Nov 14 at 10:45










  • Using the code above, do you still get the initial error?
    – Alex Mamo
    Nov 14 at 11:05










  • yes, also see the second update, firestore core 16.0.5 is not released yet.
    – Rajarshi
    Nov 14 at 15:01














up vote
0
down vote













To solve this, please change the following line of code:



implementation 'com.firebaseui:firebase-ui-auth:4.1.0'


to



implementation 'com.firebaseui:firebase-ui-auth:4.2.1'


And make sure to have also the latest version of Google Play services:



classpath 'com.google.gms:google-services:4.2.0'


Please also add the following dependecy:



implementation 'com.google.firebase:firebase-core:16.0.4'





share|improve this answer






















  • Is already on google-services:4.2.0, updating the ui-auth dependency did not work.
    – Rajarshi
    Nov 13 at 1:43










  • Hi Rajarshi! Have you tried my solution above, does it work?
    – Alex Mamo
    Nov 13 at 9:24










  • No, however, I've updated the post with latest errors
    – Rajarshi
    Nov 14 at 10:45










  • Using the code above, do you still get the initial error?
    – Alex Mamo
    Nov 14 at 11:05










  • yes, also see the second update, firestore core 16.0.5 is not released yet.
    – Rajarshi
    Nov 14 at 15:01












up vote
0
down vote










up vote
0
down vote









To solve this, please change the following line of code:



implementation 'com.firebaseui:firebase-ui-auth:4.1.0'


to



implementation 'com.firebaseui:firebase-ui-auth:4.2.1'


And make sure to have also the latest version of Google Play services:



classpath 'com.google.gms:google-services:4.2.0'


Please also add the following dependecy:



implementation 'com.google.firebase:firebase-core:16.0.4'





share|improve this answer














To solve this, please change the following line of code:



implementation 'com.firebaseui:firebase-ui-auth:4.1.0'


to



implementation 'com.firebaseui:firebase-ui-auth:4.2.1'


And make sure to have also the latest version of Google Play services:



classpath 'com.google.gms:google-services:4.2.0'


Please also add the following dependecy:



implementation 'com.google.firebase:firebase-core:16.0.4'






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 14 at 16:17

























answered Nov 12 at 18:46









Alex Mamo

38k62557




38k62557











  • Is already on google-services:4.2.0, updating the ui-auth dependency did not work.
    – Rajarshi
    Nov 13 at 1:43










  • Hi Rajarshi! Have you tried my solution above, does it work?
    – Alex Mamo
    Nov 13 at 9:24










  • No, however, I've updated the post with latest errors
    – Rajarshi
    Nov 14 at 10:45










  • Using the code above, do you still get the initial error?
    – Alex Mamo
    Nov 14 at 11:05










  • yes, also see the second update, firestore core 16.0.5 is not released yet.
    – Rajarshi
    Nov 14 at 15:01
















  • Is already on google-services:4.2.0, updating the ui-auth dependency did not work.
    – Rajarshi
    Nov 13 at 1:43










  • Hi Rajarshi! Have you tried my solution above, does it work?
    – Alex Mamo
    Nov 13 at 9:24










  • No, however, I've updated the post with latest errors
    – Rajarshi
    Nov 14 at 10:45










  • Using the code above, do you still get the initial error?
    – Alex Mamo
    Nov 14 at 11:05










  • yes, also see the second update, firestore core 16.0.5 is not released yet.
    – Rajarshi
    Nov 14 at 15:01















Is already on google-services:4.2.0, updating the ui-auth dependency did not work.
– Rajarshi
Nov 13 at 1:43




Is already on google-services:4.2.0, updating the ui-auth dependency did not work.
– Rajarshi
Nov 13 at 1:43












Hi Rajarshi! Have you tried my solution above, does it work?
– Alex Mamo
Nov 13 at 9:24




Hi Rajarshi! Have you tried my solution above, does it work?
– Alex Mamo
Nov 13 at 9:24












No, however, I've updated the post with latest errors
– Rajarshi
Nov 14 at 10:45




No, however, I've updated the post with latest errors
– Rajarshi
Nov 14 at 10:45












Using the code above, do you still get the initial error?
– Alex Mamo
Nov 14 at 11:05




Using the code above, do you still get the initial error?
– Alex Mamo
Nov 14 at 11:05












yes, also see the second update, firestore core 16.0.5 is not released yet.
– Rajarshi
Nov 14 at 15:01




yes, also see the second update, firestore core 16.0.5 is not released yet.
– Rajarshi
Nov 14 at 15:01

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53240348%2ffirestore-error-program-type-already-present-com-google-android-gms-internal%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Use pre created SQLite database for Android project in kotlin

Darth Vader #20

Ondo