-
Notifications
You must be signed in to change notification settings - Fork 401
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
[BUG] Miss match on Xamarin.Android depencies for MediaElement #1908
Comments
I'm not sure it'll solve the issue but it doesn't look like you have applied this detail from the docs: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/mediaelement?tabs=android#platform-specific-initialization |
I applied this detail and I got this VS Issue. So I rebooted windows and started it again. It took several minutes for VS to start the clean/build but it eventually ran. I continued to get this error. |
From your report, I don't think the issue is with this repo... Following your log I could find that Xamarin.Google.Guava has a dependency on Xamarin.Google.Guava.ListenableFuture, but the dependency requires a version greater than 999, which doesn't exist on nuget, so looks like the Xamarin.Android team is using a local package reference instead of the nuget feed. cc: @moljac @jonathanpeppers. |
Version If I recall, the reason is that Thus if you reference In short, you do not want to reference both |
I'm not sure what changed, but it no longer occurs. |
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
androidx.profileinstaller.ProfileInstaller.writeProfile
java.lang.ClassNotFoundException: Didn't find class "com.google.common.util.concurrent.ListenableFuture" on path: DexPathList
Known stack traces:
After some further research i found this Issue, So i tried to install
Xamarin.Google.Guava.ListenableFuture v1.0.0.19
and nuget got this error:Expected Behavior
Not crash on startup.
Steps To Reproduce
Create a MAUI project, add the
CommunityToolkit.Maui.MediaElement
and try to run it.Link to public reproduction project repository
https://github.com/Jakar510/Jakar.Extensions/tree/master/TestMauiApp
Environment
Envrionment
Anything else?
No response
The text was updated successfully, but these errors were encountered: