My exoplayer2 is working fine in devices like Samsung, Motorola, Xiomi, sony etc on both release and debug build.
But when I have released my app on play store, it is throwing error on devices like nexus 4(Android version 6.0.1) and some Vivo models like Vivo Y53, Y71, and V5 having android version 6.0.1, 7 and 8.
Crashlytics showing this error : Caused by android.view.InflateException: Binary XML file line #153: Error inflating class com.google.android.exoplayer2.ui.PlayerView
My code already contains properties mentioned in Error inflating class com.google.android.exoplayer2.ui.SimpleExoPlayerView but still facing issue in few devices.
Can it be because of custom ROM in Vivo and Nexus devices?