0
我刚开始学习科尔多瓦。我根据this url.This创建的工程项目运行中的纹波emulator.But确定,当我尝试运行它在谷歌Android Emulator.It无法获取天气,并显示以下信息:它违反了以下内容安全策略指令
Refused to connect to 'https://query.yahooapis.com/v1/public/yql?q=select+*+from+weather.forecast+where+location=98052&format=json' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
jquery-2.1.4.min.js (4,14349)
应该
我做了一些其他的事情来让这个项目在Google Android Emulator中正常运行。
感谢拉坎帮助编辑这个问题。 –