Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

cocos3.13.1版本引擎,无法播放背景音乐

$
0
0

@448223155 写道:

09-22 15:27:17.110 3781-3799/gianghoky.game.mobo E/Cocos2dxMusic: error: assets/sound/music/Login.aac
java.io.FileNotFoundException: assets/sound/music/Login.aac
at android.content.res.AssetManager.openAssetFd(Native Method)
at android.content.res.AssetManager.openFd(AssetManager.java:332)
at org.cocos2dx.lib.Cocos2dxMusic.createMediaplayer(Cocos2dxMusic.java:253)
at org.cocos2dx.lib.Cocos2dxMusic.preloadBackgroundMusic(Cocos2dxMusic.java:86)
at org.cocos2dx.lib.Cocos2dxHelper.preloadBackgroundMusic(Cocos2dxHelper.java:231)
at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native Method)
at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1523)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
09-22 15:27:17.110 3781-3799/gianghoky.game.mobo E/Cocos2dxMusic: playBackgroundMusic: background media player is null

帖子: 5

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>