canvasToTempFilePathSync 安卓BUG
截图黑屏,并在管理后台开发工具可见错误如下:
错误类型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](/user/bebb457);at requestAnimationFrame callback function
Error: canvasToTempFilePathSync:fail:runtime exception! java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap[@bebb457](/user/bebb457)
at HTMLCanvasElement.s.toTempFilePathSync (https://lib/WAGame.js:2:813096)