canvas 2d android真机property 'createView' undefined
发布于 4 年前 作者 gaochao 13336 次浏览 来自 问答

VM21:2 (in promise) MiniProgramError

Cannot read property 'createView' of undefined

TypeError: Cannot read property 'createView' of undefined

    at t.value (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:2237101)

at t.value (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1868186)

    at A (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1868352)

    at t.value (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:1868463)

    at eval (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:2566063)

at new Promise (<anonymous>)

    at cc (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:2566025)

    at eval (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:2567487)

    at Array.forEach (<anonymous>)

    at n (eval at n.call.document (http://127.0.0.1:40184/remote-debug/runtime.js?devtools_ignore=true:1:11339), <anonymous>:2:2567465)

errorReport @ VM21:2

runtime.js?devtools_ignore=true:1 [Violation] 'message' handler took 156ms

1 回复

canvas2d 目前暂不支持真机,请使用预览调试

回到顶部