在UnknownHostException异常的android [英] UnknownHostException in android

查看:219
本文介绍了在UnknownHostException异常的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行我的应用
有时,突然网络连接断开,我
让我的应用程序中的UnknownHostException。在如果我这种情况下,
检查浏览器,相同的异常occurs.I不知道为什么互联网
是越来越突然断开。它工作正常,只有当我重新启动
再次模拟器。如果任何人知道并提供了解决方案,它将
对每个人都非常有帮助。

When i run my application for sometime, suddenly the network is getting disconnected and i am getting the unknownhostexception in my application. In that case if i check the browser, the same exception occurs.I don't know why internet is getting disconnected suddenly. It works fine only if i re start the emulator again. If any one knows and provides the solution, it will be very much helpful for everyone.

推荐答案

请参阅以下链接:
<一href=\"http://hubpages.com/hub/Tips-to-solve-the-UnknownHostException-on-Android\">http://hubpages.com/hub/Tips-to-solve-the-UnknownHostException-on-Android

这篇关于在UnknownHostException异常的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆