MediaPlayer not working on a tablet. E/MediaPlayerNative: error (1, -2147483648)

I have used MediaPlayer to play music for my game on multiple phones, even some very old ones, and they all work fine. Today I got a new tablet running Android 9, and I tried my game there. It returns an error and it doesn’t play. Actually it keeps returning errors that slow down the overall performance of the game. It’s very strange and I haven’t been able to find any possible reasons. Any ideas? Here is the log (it just keeps going on and on)

01-12 12:02:51.452 E/MediaPlayerNative(14701): error (1, -2147483648) 01-12 12:02:51.464 E/MediaPlayerNative(14701): invoke failed: wrong state 0, mPlayer(0x816993e0) 01-12 12:02:51.464 E/MediaPlayer(14701): Error (1,-2147483648) 01-12 12:02:51.477 E/MediaPlayerNative(14701): stop called in state 0, mPlayer(0x816993e0) 01-12 12:02:51.477 E/MediaPlayerNative(14701): error (-38, 0) 01-12 12:02:51.492 V/MediaPlayer(14701): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 01-12 12:02:51.492 V/MediaPlayer(14701): cleanDrmObj: mDrmObj=null mDrmSessionId=null 01-12 12:02:51.536 E/MediaPlayerNative(14701): error (1, -2147483648) 01-12 12:02:51.545 E/MediaPlayerNative(14701): invoke failed: wrong state 0, mPlayer(0x81699820) 01-12 12:02:51.545 E/MediaPlayer(14701): Error (1,-2147483648) 01-12 12:02:51.546 E/MediaPlayerNative(14701): stop called in state 0, mPlayer(0x81699820) 01-12 12:02:51.546 E/MediaPlayerNative(14701): error (-38, 0) 01-12 12:02:51.557 V/MediaPlayer(14701): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 01-12 12:02:51.557 V/MediaPlayer(14701): cleanDrmObj: mDrmObj=null mDrmSessionId=null 01-12 12:02:51.599 E/MediaPlayerNative(14701): error (1, -2147483648) 01-12 12:02:51.608 E/MediaPlayerNative(14701): invoke failed: wrong state 0, mPlayer(0x81699880) 01-12 12:02:51.609 E/MediaPlayer(14701): Error (1,-2147483648) 01-12 12:02:51.609 E/MediaPlayerNative(14701): stop called in state 0, mPlayer(0x81699880) 01-12 12:02:51.609 E/MediaPlayerNative(14701): error (-38, 0) 01-12 12:02:51.621 V/MediaPlayer(14701): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 01-12 12:02:51.622 V/MediaPlayer(14701): cleanDrmObj: mDrmObj=null mDrmSessionId=null 01-12 12:02:51.661 E/MediaPlayerNative(14701): error (1, -2147483648) 01-12 12:02:51.670 E/MediaPlayerNative(14701): invoke failed: wrong state 0, mPlayer(0x82863d20) 01-12 12:02:51.671 E/MediaPlayer(14701): Error (1,-2147483648) 01-12 12:02:51.671 E/MediaPlayerNative(14701): stop called in state 0, mPlayer(0x82863d20) 01-12 12:02:51.672 E/MediaPlayerNative(14701): error (-38, 0) 01-12 12:02:51.683 V/MediaPlayer(14701): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 01-12 12:02:51.683 V/MediaPlayer(14701): cleanDrmObj: mDrmObj=null mDrmSessionId=null 01-12 12:02:51.725 E/MediaPlayerNative(14701): error (1, -2147483648) 01-12 12:02:51.731 E/MediaPlayerNative(14701): invoke failed: wrong state 0, mPlayer(0x8295d6e0) 01-12 12:02:51.731 E/MediaPlayer(14701): Error (1,-2147483648) 01-12 12:02:51.732 E/MediaPlayerNative(14701): stop called in state 0, mPlayer(0x8295d6e0) 01-12 12:02:51.732 E/MediaPlayerNative(14701): error (-38, 0)