Hi guys,
We have an android app that we're attempting to use Firebase in, but a dependency we use is using protobuf-java causing conflicts with Firebase and it's inclusion of protobuf-javalite.
We've found some suggestions but nothing really consistent.
We can get the application to build and run using this block in the android block of the apps build.gradle file:
configurations {
implementation.exclude module:'proto-google-common-protos'
implementation.exclude module:'protolite-well-known-types'
implementation.exclude module:'protobuf-lite'
implementation.exclude module:'protobuf-javalite'
}Is there a better way (short of eliminating the dependency that uses protobuf-java) to ensure compatibility?
Any suggestions would be greatly appreciated.
Thanks!