final HttpClient hClient = new DefaultHttpClient();
final HttpPost hPost = new HttpPost(
"http://xxx.xxx");
try {
hPost.setHeader("Accept", "application/json");
hPost.setHeader("Content-type",
"application/json");
hPost.setEntity(new StringEntity(JSON));
// execute request
final HttpResponse response = hClient
.execute(hPost);
final HttpEntity entity = response.getEntity();
Android 返回 05-16 20:02:52.784: W/DefaultRequestDirector(15642): Authentication error: Unable to respond to any of these challenge: {} 我不知道如何解决它。问题出在哪里,我该如何解决?