Music player crashes/stops playing music

I’ve built a music player app, using exoplayer.
The music player either crashes or stops playing music altogether, 5-10 minutes after I turn off my screen/sleep my screen.

How can I fix this?

1 Like

This solution works, atleast it did work for me.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.