I think I found the solution. 1. install the SDK as usual 2. find android.bat (for me it was in C:\Program Files (x86)\Android\android-sdk\tools) 3. open the file in an editor and go to the end of the batch file where it runs the final java command using the variable %java_exe% 4. Change that line to "call %java_exe% -Djava.net.preferIPv4Stack=true%REMOTE_DEBUG% ..." (note the ipv4 variable here is the only change to that line, and I just put ... for the remainder of the line)
I found this article that led me to this solution: http://maven.40175.n5.nabble.com/java-net-SocketException-caught-when-connecting-to-the-target-host-Invalid-argument-connect-td5715972.html On Monday, September 24, 2012 4:05:27 PM UTC-5, Sabbib wrote: > > Angelo, i followed your instructions but not luck still. > > On Monday, September 10, 2012 5:55:55 PM UTC+6, Angelo Hannes wrote: >> >> I had the same issues. >> >> I'm behind a proxy but setting the host:port in the sdk manger options >> did not work. >> I solved my problem by starting the sdk manager via command line. I >> started it like that: >> PROMPT>android.bat --clear-cache -v update sdk -u -s --proxy-host >> 1.234.567.890 --proxy-port 88 >> Hope that was helpful >> > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

