Game stops music at opening (android / cocos2d-x)

hello as i write in the title, my game stops playing music at opening or after the video ad starts in game. I searched for possible reasons in code but i couldn’t find a way.
this looks like onResume problem but i couldn’t find the solution. maybe someone get the same error and help me.
os:android
cocos2d-x version: 3.16

Hi,

I have the same issue in my Android game. One of my customers just inform me that he has to uninstall game because he can not listen music while playing…
This regression on 3.16. It works fine on cocos2dx-3.14.1.

@slackmoehrle Could you help us? Is there any workaround? Do you know what was changed?

Regards,
Mariusz

Same here!!!

@jianhua.chen@cocos2d-x.org, @jianhua928 @dumganhar it seems like Android audio was completely rewritten. Could you help us?

Regards,
CHP

issue created: https://github.com/cocos2d/cocos2d-x/issues/18465

is there anything in logcat that I can add to the GitHub issue?

i get no error or info log about the issue.

I replied it on github. Please refer to it.