Android: SocketException thrown when attempting HttpURLConnection.getOutputStream()

前端 未结 1 590
我在风中等你
我在风中等你 2021-01-22 02:27

this is my very first android program, it\'s a modified hello world. I\'m running it on the emulator on a MAC. I attempt to communicate with a .NET web service but it gives an e

1条回答
  •  执念已碎
    2021-01-22 03:17

    Try to add the "internet" permission on your AndroidManifest.xml:

    
    

    0 讨论(0)
提交回复
热议问题