您的位置:首页 > 移动开发

PhoneGap开发出现 Application Error - The connection to the server was unsuccessful.

2014-12-17 23:39 567 查看
在PhoneGap开发时,出现在跳转页面的时候会出现:Application Error - The connection to the server was unsuccessful. (file:///android_asset/www/index.html).

解决方法:

将页面跳转的超链接

<a href="homepage.html">···</a>

改为:

<a onclick="javascript:window.location.href='homepage.html'">···</a>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐