Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin.Firebase.Perf build error #898

Open
PavloLukianets opened this issue Aug 1, 2024 · 8 comments
Open

Xamarin.Firebase.Perf build error #898

PavloLukianets opened this issue Aug 1, 2024 · 8 comments

Comments

@PavloLukianets
Copy link

Xamarin.Android Version (eg: 6.0):

Latest net8.0 android

Operating System & Version (eg: Mac OSX 10.11):

MacOS Sonoma Version 14.5 (23F79)

Google Play Services Version

Latest nugets available

Describe your Issue

Installing Xamarin.Firebase.Perf in a blank template Android app produces build error. Tips and workarounds in xamarin/AndroidX#764 don't help

Repro

AndroidApp1.zip

Include any relevant Exception Stack traces, build logs, adb logs:

0>: Error JAVA0000 java: Error in obj/Debug/net8.0-android/lp/173/jl/classes.jar:com/google/protobuf/DescriptorProtos$1.class:
Type com.google.protobuf.DescriptorProtos$1 is defined multiple times: obj/Debug/net8.0-android/lp/173/jl/classes.jar:com/google/protobuf/DescriptorProtos$1.class, obj/Debug/net8.0-android/lp/162/jl/libs/8E428AF64A795598.jar:com/google/protobuf/DescriptorProtos$1.class
...
Directory 'obj/Debug/net8.0-android/lp/151' is from 'protolite-well-known-types.aar'.
@PavloLukianets
Copy link
Author

I see that a fix was already implemented over here, however looks like the issue is still not resolved : d4fd4c0

@Digifais
Copy link

Digifais commented Aug 13, 2024

I can confirm this is an issue with Xamarin.Firebase.Perf 121.0.1.1, latest working version on my end seems to be 121.0.0.

@PavloLukianets
Copy link
Author

@Digifais does 121.0.0 work fine with all other latest firebase/androidx packages?

@Digifais
Copy link

@PavloLukianets Yes, it does for me.

@PavloLukianets
Copy link
Author

Nope, for my combination of libs doesn't build. So, waiting for fix from the team

@PavloLukianets
Copy link
Author

@Digifais
Copy link

firebase/firebase-android-sdk#5999

@moljac

@moljac
Copy link
Member

moljac commented Aug 22, 2024

@Digifais

Thanks for the info. We added fix on our side, but I expect more to come. Google's ecosystem is one huge construction site (kotlin multiplatform).

firebase/firebase-android-sdk#5999

@moljac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants