Android: IllegalStateException in HttpGet

前端 未结 4 1637
甜味超标
甜味超标 2020-12-02 02:58

I\'m trying to send a GET request using HttpClient, but I keep getting an IllegalStateException. Any idea what\'s causing this? I\'ve

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-02 03:41

    you have to add the http:// to address, in order to get it work. Avoid the use of URLEncoder, if you do.

提交回复
热议问题