【发布时间】:2020-06-29 07:20:03
【问题描述】:
我在运行 Android 5.1 的设备上进行了设备重置,但之后我使用 Cordova 构建的应用在再次安装时无法打开。现在只显示一个空白的白色屏幕。检查应用程序时,我发现问题 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not supported outside strict mode。
所以我猜设备重置删除了对 JS 关键字的最新支持。
【问题讨论】:
标签: javascript android angularjs cordova android-5.1.1-lollipop