Repository: flutter
Issue: Espresso plugin causes "Duplicate class" compilation errors
Labels: platform-android,package,has reproducible steps,P2,p: espresso,found in release: 3.7,team-android,triaged-android

The current version of the Flutter Espresso plugin (espresso: ^0.2.0+6) causes "Duplicate class" compilation errors when added to a working app that contains the Flutter Firebase SDKs (e.g. cloud_firestore: ^4.1.0).

## Steps to Reproduce

1. `git clone https://github.com/flutter/codelabs.git flutter-codelabs`
2. `cd flutter-codelabs/firebase-get-to-know-flutter/step_09`
3. `git checkout 31224754` (optional, but may be necessary to reproduce what I saw on January 26, 2023 at 11:11 AM Central Time)
4. Start an emulator (e.g. Android Pixel 6, API 30) or connect a device
5. `flutter run` to confirm app runs before adding espresso (you should see an event schedule app with an even in San Francisco on October 18, 2022)
6. Quit the app and stop the flutter run command
7. `flutter pub add espresso`
8. `flutter run`

**Expected results:** 

A successful compilation, the app runs, and you can see an event schedule app with an even in San Francisco on October 18, 2022.

**Actual results:** 

Compilation error:

```
step_09[(HEAD detached at 31224754) !]11:22:57 flutter run
Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software
rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class com.google.protobuf.AbstractMessageLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.AbstractMessageLite$Builder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.AbstractMessageLite$Builder$LimitedInputStream found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.AbstractParser found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.AbstractProtobufList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.BooleanArrayList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteBufferWriter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteOutput found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$ArraysByteArrayCopier found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$BoundedByteString found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$ByteArrayCopier found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$ByteIterator found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$CodedBuilder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$LeafByteString found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$LiteralByteString found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$Output found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ByteString$SystemByteArrayCopier found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedInputStream found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedOutputStream found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedOutputStream$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedOutputStream$AbstractBufferedEncoder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedOutputStream$ArrayEncoder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedOutputStream$ByteOutputEncoder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedOutputStream$OutOfSpaceException found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.CodedOutputStream$OutputStreamEncoder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.DoubleArrayList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ExperimentalApi found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ExtensionLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ExtensionRegistryFactory found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ExtensionRegistryLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ExtensionRegistryLite$ObjectIntPair found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.FieldSet found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.FieldSet$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.FieldSet$FieldDescriptorLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.FloatArrayList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$Builder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$ExtendableBuilder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$ExtendableMessage found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$ExtendableMessage$ExtensionWriter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$ExtendableMessageOrBuilder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$ExtensionDescriptor found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$GeneratedExtension found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$MethodToInvoke found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.GeneratedMessageLite$SerializedForm found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.IntArrayList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$BooleanList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$DoubleList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$EnumLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$EnumLiteMap found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$FloatList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$IntList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$ListAdapter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$ListAdapter$Converter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$LongList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$MapAdapter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$MapAdapter$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$MapAdapter$Converter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$MapAdapter$EntryAdapter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$MapAdapter$IteratorAdapter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$MapAdapter$SetAdapter found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Internal$ProtobufList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.InvalidProtocolBufferException found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyField found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyField$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyField$LazyEntry found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyField$LazyIterator found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyFieldLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyStringArrayList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyStringArrayList$ByteArrayListView found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyStringArrayList$ByteStringListView found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LazyStringList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.LongArrayList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MapEntryLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MapEntryLite$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MapEntryLite$Metadata found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MapFieldLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MessageLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MessageLite$Builder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MessageLiteOrBuilder found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MessageLiteToString found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MutabilityOracle found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.MutabilityOracle$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.NioByteString found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.NioByteString$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Parser found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ProtobufArrayList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.ProtocolStringList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.RopeByteString found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.RopeByteString$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.RopeByteString$Balancer found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.RopeByteString$PieceIterator found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.RopeByteString$RopeInputStream found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap$EmptySet found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap$EmptySet$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap$EmptySet$2 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap$Entry found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap$EntryIterator found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.SmallSortedMap$EntrySet found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.TextFormatEscaper found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.TextFormatEscaper$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.TextFormatEscaper$2 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.TextFormatEscaper$ByteSequence found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UninitializedMessageException found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UnknownFieldSetLite found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UnmodifiableLazyStringList found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UnmodifiableLazyStringList$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UnmodifiableLazyStringList$2 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UnsafeByteOperations found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UnsafeUtil found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.UnsafeUtil$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Utf8 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Utf8$Processor found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Utf8$SafeProcessor found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Utf8$UnpairedSurrogateException found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.Utf8$UnsafeProcessor found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$FieldType found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$FieldType$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$FieldType$2 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$FieldType$3 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$FieldType$4 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$JavaType found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$Utf8Validation found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$Utf8Validation$1 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$Utf8Validation$2 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)
     Duplicate class com.google.protobuf.WireFormat$Utf8Validation$3 found in modules jetified-protobuf-javalite-3.21.1 (com.google.protobuf:protobuf-javalite:3.21.1) and jetified-protobuf-lite-3.0.1 (com.google.protobuf:protobuf-lite:3.0.1)

     Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 27s
Running Gradle task 'assembleDebug'...                             28.6s
Exception: Gradle task assembleDebug failed with exit code 1
step_09[(HEAD detached at 31224754) !]11:23:34 
```

## Environment

### flutter doctor

```
step_09[(HEAD detached at 31224754) !]11:29:44 flutter doctor -v
[✓] Flutter (Channel stable, 3.7.0, on macOS 13.0.1 22A400 darwin-x64, locale en-US)
    • Flutter version 3.7.0 on channel stable at /Users/michaelosofsky/Library/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (3 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/michaelosofsky/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 109.0.5414.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
step_09[(HEAD detached at 31224754) !]11:29:57 
```