解决方案 »

  1.   

    你不用线程试试,这个本来就封装了异步线程的吧 再说你的handler已经是在线程里new出来的 有问题。
      

  2.   

    报错内容是这样的,不太明白什么意思:09-19 14:16:34.765: E/AndroidRuntime(29517): java.lang.IllegalArgumentException: Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.
      

  3.   


    同步的ResponseHandler用在了异步的http客户端上,你需要给你的线程创建一个looper或者使用SyncHttpClient。
      

  4.   

    怎么创建这个 response handler in a looper thread?
      

  5.   

     你在新起一个线程,在其中使用异步httpclient吧?解决办法:1不使用异步,使用同步的,即SyncHttpClient。2将new JsonHttpResponseHandler(){....}这个handler的定义在你新起的线程外。