在使用white screen
运行应用程序之后,我正在ionic 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.
对此有什么建议吗?到底是什么问题?
发布于 2016-12-09 04:51:45
这可能是由于几个问题造成的,所以您必须尝试一些事情:
ionic state reset --platform
重新安装平台ionic state reset --plugins
之前,请检查您的所有插件包括在您的package.json
文件。Content-Security-Policy
从您的index.html
更改为这个:发布于 2017-08-09 06:48:10
正如另一个答案的注释中提到的,在新版本的CLI中,您应该手动删除plugins
和platforms
文件夹。然后跑:
ionic cordova prepare
https://stackoverflow.com/questions/40014332
复制相似问题