PhoneGap中"unable to download archive from the server. "警告的解决方法
来源:互联网 发布:js触发a标签的href 编辑:程序博客网 时间:2024/06/05 23:01
相信很多HTML5开发者都会使用phonegap 移动客户端来测试插件的运行情况,有时会遇到左边的情况。
出现这种情况的原因有两种:
1.
错误类型: 服务器端和客户端不在同一局域网下 。
解决方案: 尽量使用无线路由器,把放置服务器代码的PC或MAC 和 手机连在一个无线路由下就妥妥的了,不要自找麻烦,横跨多个网关是自找没趣的行为
2.
错误类型: 防火墙设置中设置为公用网络, 或者 关闭了网络发现, 常见于windows操作系统。
解决方案:
win7,xp:控制面板 --> 网络和共享中心 --> 高级共享设置 -->设置为 启用网络发现
Win10: 所有设置 --> 网络和INTERNET --> WLAN--> 高级选项 --> 将这台电脑设为可以被检测到 设置为 开启
如果上述都无法解决你的问题,请注意版本控制问题,将phonegap 的CLI版本和 手机上APP版本均升级到最新。
0 0
- PhoneGap中"unable to download archive from the server. "警告的解决方法
- PhoneGap : unable to download archive from the server
- Unable to get the project from the web server. 错误的解决方法
- Unable to get the project ile from the web server错误的解决方法
- 安装ruby on rails错误:Unable to download data from https://rubygems.org/的解决方法
- nodejs download file from server to local
- Myeclipse中”Unable to load server configuration from“問題解決
- 安装ruby on rails一直报Unable to download data from https://rubygems.org/的解决方案
- 解决unable to get the project file from the web server
- Unable to start debugging on the Web Server vs中
- HierarchyViewer报Unable to get view server protocol的解决方法
- entitlement engine unable to connect to the embedded ldap server解决方法
- github安装问题解决"Unable to retrieve your user info from the server"
- github问题之Unable to retrieve your user info from the server
- ios安装ruby on rails一直报Unable to download data from https://rubygems.org/的解决方案
- 处理phonegap(cordova) application error the connection to the server was unsuccessful的错误
- Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!解决方法
- Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!解决方法
- 浅谈复杂链表的复制
- 简单剖析稀疏矩阵的转置
- 广义表的C++简单实现
- 将博客搬至CSDN
- 浅谈Linux下VIM配置
- PhoneGap中"unable to download archive from the server. "警告的解决方法
- 剖析linux下Find指令
- NDK so库的调用和编译
- 安装nginx及tcp代理
- Structural Patterns Part 4/7: Decorator Pattern
- shell脚本学习笔记-1
- 写博客的第一天之我为什么写博客
- iOS网络请求-NSURLConnection
- 使用Sqlite保存数据