Baseflow / XamarinMediaManager

Cross platform Xamarin plugin to play and control Audio and Video
https://baseflow.com
MIT License
761 stars 304 forks source link

Java.Lang.NoClassDefFoundError com.google.android.exoplayer2.source.ConcatenatingMediaSource in version 1.2.2 #891

Closed Hobbit7 closed 1 year ago

Hobbit7 commented 1 year ago

I still get the exception in version 1.2.2 but not in every Android project. But I don't know why it is not working in every Android project: https://github.com/Baseflow/XamarinMediaManager/issues/886 I currently use version 1.1.1. Why is it not working in every Android project?

Hobbit7 commented 1 year ago

I found the issue. I only needed to remove the following code from my Android .csproj file:

<XamarinGoogleGuavaOptOut>true</XamarinGoogleGuavaOptOut>

Now I don't get the exception anymore.