[英]external links not opening phonegap cordova android
My Setup: Mac Mini Phonegap 5.0 Cordova 5.1 Platforms - iOS and Android Android Studio 我的设置:Mac Mini Phonegap 5.0 Cordova 5.1平台-iOS和Android Android Studio
iOS app has no problem. iOS应用程序没有问题。 But on android I'm unable to use internet through app ie unable to download any content from internet. 但是在android上,我无法通过应用程序使用互联网,即无法从互联网下载任何内容。 I don't know if this is because an error in config.xml file or something else. 我不知道这是否是因为config.xml文件或其他错误。
In my config.xml file which is found in res/xml folder, the contents are like 在我的config.xml文件(位于res / xml文件夹中)中,内容类似于
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
.......
<content src="index.html" />
<access origin="*" /> </widget>
Error that I'm getting is 我得到的错误是
Error:External resource http://www.w3.org/ns/widgets is not registered 错误:未注册外部资源http://www.w3.org/ns/widgets
Can someone please me out here? 有人可以让我出来吗? Searching for a solution since 5 hours but unable to get any thing useful. 自5个小时以来一直在寻找解决方案,但无法获得任何有用的信息。
Whitelist plugin is also installed for android. 白名单插件也已为Android安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.