Troubleshooting Guide
Exoplayer Dependancy Issue
When encountered with the error which says something like below which complains about inflating the video player view.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yourPackage/com.pushologies.pushsdk.appcomponents.VideoActivity}: android.view.InflateException: Binary XML file line #20 in com.yourPackage:layout/pushsdk_video_activity: Binary XML file line #20 in com.yourPackage:layout/pushsdk_video_activity: Error inflating class androidx.media3.ui.PlayerView
The solution is to use the right exoplayer version from the right source. Please note google exoplayer was deprecated and migrated to media3 exoplayer.
AndroidX Media3 migration guide | Android media | Android Developers
Updated 7 months ago