[]构建好android studio项目后,debug出错
I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
>>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
I/ViewRootImpl: CPU Rendering VSync enable = true
I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
I/LayaBox: >>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
I/ViewRootImpl: CPU Rendering VSync enable = true
I/LayaBox: >>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
>>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
>>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
I/ViewRootImpl: CPU Rendering VSync enable = true
I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
I/LayaBox: >>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
I/ViewRootImpl: CPU Rendering VSync enable = true
I/LayaBox: >>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
let runtime = json.props.runtime;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at eval (native)
at Document._downloadOk (apploader.js:6059:20)
at apploader.js:6038:20
at FileReader.filereader.onload (apploader.js:6732:47)
>>>>>>>>>>>>>>>evalhttp://stand.alone.version/libs/laya.ui.js
没有找到相关结果
已邀请:
要回复问题请先登录
3 个回复
karin666
赞同来自:
karin666
赞同来自:
但我是ts项目,js是自动生成的,我该咋做呢?
karin666
赞同来自:
自己去看看1.7.18版本laya.ui.js文件5155行是什么鬼?!
拜托加强管理,不要这么坑,要知道你们坑一下,带给我们是多高的时间成本