AVD Browser connection problem

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

AVD Browser connection problem

Postby Misan » Thu Apr 07, 2011 2:23 pm

Hi.

I have written a simple proxy server in java on my PC. What it basically does, is redirect the raw contents of a given URL, whether it is an image or a website etc. It works perfectly fine when I use it with my PC (http://localhost) or any other PC in my network.

It does not, however work when I try to use it with the browser in the Android Virtual Device. Output:

"Data connectivity problem

The server failed to communicate. Try again later."

I am using the local loopback, i.e. 10.0.2.2 to access my PC's server.
The server apparently makes a connection, but it crashes (..well, not exactly "crashes", but you know) with an exception: "java.net.SocketException: Software caused connection abort: socket write error"

Anyone have any ideas about what might be going on?
Misan
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Apr 07, 2011 2:16 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests