以前出现过用Android的音量键调节音量 也出现过闪退 能查查什么原因吗 还有用cc.game.restart() 也出现过闪退
07-05 23:21:03.995 10368-10368/com.senlinhuyu.mahjongjx I/SurfaceView: Punch a hole(dispatchDraw), w = 1280, h = 720, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{148b46f7 VFE… .F… 0,0-1280,720}
07-05 23:21:03.998 10368-11515/com.senlinhuyu.mahjongjx D/GraphicBuffer: register, handle(0xf4dfb980) (w:720 h:1280 s:720 f:0x1 u:0x000b00)
07-05 23:21:04.322 10368-12102/com.senlinhuyu.mahjongjx D/cocos2d-x: Dirty Uniform and Attributes of GLProgramState
07-05 23:21:04.339 10368-12102/com.senlinhuyu.mahjongjx D/GraphicBuffer: register, handle(0xdd7ab8e0) (w:720 h:1280 s:736 f:0x4 u:0x000b00)
07-05 23:21:04.339 10368-12102/com.senlinhuyu.mahjongjx D/GraphicBuffer: register, handle(0xdd7ab8e0) (w:720 h:1280 s:736 f:0x4 u:0x000b00)
07-05 23:21:04.343 10368-12102/com.senlinhuyu.mahjongjx V/SoundPool-JNI: android_media_SoundPool_SoundPoolImpl_autoResume
07-05 23:21:04.343 10368-12102/com.senlinhuyu.mahjongjx V/SoundPool: autoResume()
07-05 23:21:04.344 10368-12102/com.senlinhuyu.mahjongjx E/cocos js error:: line:0 msg:too much recursion
07-05 23:21:04.344 10368-12102/com.senlinhuyu.mahjongjx E/cocos js error:: line:0 msg:too much recursion
07-05 23:21:04.344 10368-12102/com.senlinhuyu.mahjongjx E/cocos js error:: line:0 msg:too much recursion
07-05 23:21:04.344 10368-12102/com.senlinhuyu.mahjongjx E/cocos js error:: line:0 msg:too much recursion
07-05 23:21:04.344 10368-12102/com.senlinhuyu.mahjongjx E/cocos js error:: line:0 msg:too much recursion
07-05 23:21:04.344 10368-12102/com.senlinhuyu.mahjongjx E/cocos js error:: line:0 msg:too much recursion
restart 的崩溃会在 1.6 中解决
安卓音量键的崩溃麻烦给出具体的重现方法,@dumganhar
魔窗调起游戏这个问题,目前我们的测试无法覆盖这些桌面的第三方安卓模拟器,成本太高了,所以并不保障其中的运行,也许你们可以提交 issue 给魔窗,毕竟在正常的 android 设备上都 ok,那说明模拟器实现可能有疏漏
魔窗调起闪退 我在AndroidManifest.xml的 activity标签加入 android:launchMode="singleInstance"就不闪退了
安卓音量键的崩溃后面没有复现了
3赞
多谢,虽然是坟贴,但是解决了我的问题。
singtask不行吗