Closed Jakar510 closed 3 months ago
The workarounds listed in https://github.com/xamarin/AndroidX/issues/535 don't work.
Using .NET 8.0.301
, I did:
dotnet new maui
dotnet add package CommunityToolkit.Maui.MediaElement --version 3.1.1
.UseMauiCommunityToolkitMediaElement ()
Running this from VS on an API 34 emulator appears to succeed.
@jpobst
And on a physical device?
I don't have one available, but there shouldn't be a difference.
I'm not sure what changed, but it no longer occurs.
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
.NET 8.0.300
Description
Current Behavior
androidx.profileinstaller.ProfileInstaller.writeProfile java.lang.ClassNotFoundException: Didn't find class "com.google.common.util.concurrent.ListenableFuture" on path: DexPathList
After some further research i found this Previous Issue and Previous 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.Relevant log output