Titanium appcelerator的HttpResponseException问题

时间:2015-03-27 07:39:05

标签: java android titanium httpresponse

当我使用我的代码生成apk时,收到以下错误消息。

[ERROR] :  TiHttpClient: (TiHttpClient-1) [2663,2663] HTTP Error 

(org.apache.http.client.HttpResponseException): Unauthorized
[ERROR] :  TiHttpClient: org.apache.http.client.HttpResponseException: Unauthorized
[ERROR] :  TiHttpClient:    at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:275)
[ERROR] :  TiHttpClient:    at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:219)
[ERROR] :  TiHttpClient:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
[ERROR] :  TiHttpClient:    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
[ERROR] :  TiHttpClient:    at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1334)
[ERROR] :  TiHttpClient:    at java.lang.Thread.run(Thread.java:818)

我的配置:

  • SDK版本3.5.0
  • 操作系统:Ubuntu 14.03
  • Titanium Studio,build:3.4.1

0 个答案:

没有答案