I am facing this exoplayer not found error in video android studio application after I updated my project dependencies. I don’t know how to update old Exoplayer link to https://mvnrepository.com/artifact/com.google.android.exoplayer/exoplayer Can anyone tell how to remove this error and update to latest exoplayer version ? Answer Worked after adding these to build.gradle: And enabling multidex. Check this out https://exoplayer.dev/hello-world.html
Tag: exoplayer2.x
Attempt to invoke virtual method on Playerview.setplayer on a null object reference
I am getting a null pointer exception where there shouldnt be one. Here is the error readout Here is the activity source code (Its from a google codelab on the exoplayer) and has been modified a little. The layout file is just a Playerview element with its ID as video_view Any help is appreciated. This is the codelab HERE The
How to make PlayerView full screen in landscape mode when used in MotionLayout
I want to make it possible to make the PlayerView in landscape mode full screen but I can’t make it work. So far, I have tried to set the playerView layout params programmatically when configuration changes to landscape mode, but it still isn’t working. Layout that I have created And programatically, I am doing it this way (see below code)