arthur3486 / ARVI

Android library designed to simplify the implementation of the video autoplay in the RecyclerView
Apache License 2.0
68 stars 18 forks source link

Incompatibility with exoplayer from 1.12.0 version onwards. #8

Open strangel3t opened 3 years ago

strangel3t commented 3 years ago
java.lang.NoSuchMethodError: No static method newSimpleInstance(Landroid/content/Context;Lcom/google/android/exoplayer2/RenderersFactory;Lcom/google/android/exoplayer2/trackselection/TrackSelector;Lcom/google/android/exoplayer2/LoadControl;Lcom/google/android/exoplayer2/drm/DrmSessionManager;Lcom/google/android/exoplayer2/upstream/BandwidthMeter;)Lcom/google/android/exoplayer2/SimpleExoPlayer; in class Lcom/google/android/exoplayer2/ExoPlayerFactory; or its super classes (declaration of 'com.google.android.exoplayer2.ExoPlayerFactory' appears in /data/app/de.emfdigital.eatmovefeel-bNLUBSqLEOna024gPgRufg==/base.apk)
        at com.arthurivanets.arvi.player.DefaultPlayer.init(DefaultPlayer.java:127)
        at com.arthurivanets.arvi.widget.PlayableItemViewHolder.startPlayer(PlayableItemViewHolder.java:163)
        at com.arthurivanets.arvi.widget.PlayableItemViewHolder.start(PlayableItemViewHolder.java:91)
        at com.arthurivanets.arvi.widget.PlayableItemsRecyclerView.handleItemPlayback(PlayableItemsRecyclerView.java:255)
        at com.arthurivanets.arvi.widget.PlayableItemsRecyclerView.onScrolled(PlayableItemsRecyclerView.java:417)

After updating exoplayer dependency to anything above 1.12.0 this problem happens.

bipinvaylu commented 2 years ago

@arthur3486 and @strangel3t Any update on this issue? I am stuck using this library due to this error.