ios developer
ios developer

Reputation: 933

UnknownHostException in android

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.

Upvotes: 4

Views: 6034

Answers (2)

Rohit Mandiwal
Rohit Mandiwal

Reputation: 10462

Delete the old emulator and create a new one. This will help

Upvotes: 2

Related Questions