Ah right, I see. OK, yeah your best option is to get the other dependency to move to lite or drop it. If this is a mobile project you'll definitely wanna stay with lite for performance reasons.
On Tue, Jun 22, 2021 at 3:29 PM 'Matthew Perkins' via Protocol Buffers < [email protected]> wrote: > I did. But it's not a version number issue, its a lite vs full issue. > > On Tuesday, June 22, 2021 at 5:27:18 PM UTC-5 Derek Perez wrote: > >> Have you tried reaching out to firebase to see if they can release a >> version w/ updated deps? They are pretty far behind. >> >> On Tue, Jun 22, 2021 at 3:21 PM 'Matthew Perkins' via Protocol Buffers < >> [email protected]> wrote: >> >>> Attached is the build error I'm encountering >>> >>> On Tuesday, June 22, 2021 at 5:15:44 PM UTC-5 Matthew Perkins wrote: >>> >>>> Firebase is using: protobuf-javalite:3.14.0 >>>> >>>> On Tuesday, June 22, 2021 at 5:12:02 PM UTC-5 Derek Perez wrote: >>>> >>>>> Can you tell what version of protobuf firebase is pulling in? I wonder >>>>> if we can get one or the other updated? >>>>> >>>>> On Tue, Jun 22, 2021 at 2:53 PM 'Matthew Perkins' via Protocol Buffers >>>>> <[email protected]> wrote: >>>>> >>>>>> 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 >>>>>> <https://groups.google.com/d/msgid/protobuf/d7932836-f94d-4d16-8700-f4db56046572n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>> 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/41465c30-80b1-4508-9729-f4ea76e8dbccn%40googlegroups.com >>> <https://groups.google.com/d/msgid/protobuf/41465c30-80b1-4508-9729-f4ea76e8dbccn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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/8ea4ed47-58d3-4541-b897-1bfb96162a98n%40googlegroups.com > <https://groups.google.com/d/msgid/protobuf/8ea4ed47-58d3-4541-b897-1bfb96162a98n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJGs%2Bi%2B%2Bi_-QuZv5vMG73eo3-XD_RF_SD%2Bfyq4Zsogje3Zz_3A%40mail.gmail.com.
