导入项目运行时,发现org.apache.http.HttpResponse/HttpClient报红

 
  
import org.apache.http.Header;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;

 
  
 
  
 
  
 
  
最后在网上查找资料,找到方法:
依次点击File--->projectstructure--->
导入如图所示最下面的那个类库就行了
 
  
 
  
 
  
该文章参考了http://blog.csdn.net/jian51868/article/details/52399263

你可能感兴趣的:(Android开发中的问题)