canvasToTempFilePathSync 安卓BUG

发布于 8 年前作者 caixiuying11759 次浏览最后编辑 8 年前来自 issues

截图黑屏,并在管理后台开发工具可见错误如下:

错误类型1

canvasToTempFilePathSync:fail:write file failed;at requestAnimationFrame callback function
Error: canvasToTempFilePathSync:fail:write file failed
at HTMLCanvasElement.s.toTempFilePathSync (https://lib/WAGame.js:2:813096)

错误类型2

canvasToTempFilePathSync:fail:runtime exception! java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@bebb457;at requestAnimationFrame callback function
Error: canvasToTempFilePathSync:fail:runtime exception! java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@bebb457
at HTMLCanvasElement.s.toTempFilePathSync (https://lib/WAGame.js:2:813096)
2 回复
juanzhong
juanzhong1 楼6 年前

你好,小游戏相关问题麻烦在小游戏专区提问,我们有专门的人员处理

小游戏专区:https://developers.weixin.qq.com/community/minigame

yyin
yyin2 楼6 年前

我就是在小游戏区发的啊,发了就跳到这了,再发还是一样…