ios – Ionic 2设备准备好在2000ms内没有开火

ios – Ionic 2设备准备好在2000ms内没有开火,第1张

概述我在 IOS平台上的离子2 beta 11工作,运行应用程序使用离子运行ios白色屏幕出现并得到以下消息: Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and 我在 IOS平台上的离子2 beta 11工作,运行应用程序使用离子运行ios白色屏幕出现并得到以下消息:
Native: deviceready dID not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.

有什么建议吗?究竟是什么问题?

解决方法 这可能是由于几个问题,所以你必须尝试几件事情:

>通过运行离子状态复位 – 平台重新安装平台
>在执行此 *** 作之前先运行离子状态重置 – 重新安装您的插件,然后检查您的所有插件是否包含在您的package.Json文件中.
>就像@joshmorony说的here一样,尝试从你的index.HTML更改Content-Security-Policy:

<Meta http-equiv="Content-Security-Policy" content="default-src gap://ready file://* *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *”>
总结

以上是内存溢出为你收集整理的ios – Ionic 2设备准备好在2000ms内没有开火全部内容,希望文章能够帮你解决ios – Ionic 2设备准备好在2000ms内没有开火所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1110743.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存