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!

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/d7932836-f94d-4d16-8700-f4db56046572n%40googlegroups.com.

Reply via email to