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
Failed resolution of: Lcom/google/android/datatransport/TransportFactory
when using Xamarin.Firebase in MAUI
#560
Comments
Failed resolution of: Lcom/google/android/datatransport/TransportFactory
when using Xamarin.Firebase in MAUI
I found a workaround:
As soon as I use the versions ending with |
Related: |
I'm facing the same issue with the GA version. Applying the workaround suggested above by @chrfin is not working either, as I fall back to this other issue: dotnet/maui#3389 Any idea? |
Try updating to latest package versions and please report here if the new packages fixed the issue. Thanks. |
@moljac sorry I couldn't try that before, now I did and I confirm that with the latest package versions it works! Thanks! |
closing this issue. Thanks |
Xamarin.Android Version (eg: 6.0):
.NET MAUI Preview 11 targeting net6.0-android
Operating System & Version (eg: Mac OSX 10.11):
Android 11.0 simulator
Google Play Services Version
117.6.0.3
)122.0.0.3
)Describe your Issue
When I added the
Xamarin.Firebase.Messaging
package my app crashes when starting the app with the exception:Via trail and error I found out this happens for all
Xamarin.Firebase.*
packages, but not when referencing e.g.Xamarin.Google.Android.DataTransport.TransportRuntime
directly.Relevant information
Packages used:
Build settings (tools)
Steps to Reproduce (with link to sample solution if possible):
Create a .NET MAUI app using the templates from preview 11 and add the two packages and build and run the app with android.
Include any relevant Exception Stack traces, build logs, adb logs:
During the build I get the following warnings:
The text was updated successfully, but these errors were encountered: