未找到 Android 库 [英] Android libraries not found
本文介绍了未找到 Android 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的 android 项目中,我正在编写一个程序来连接到服务器,下面是我需要使用的库.
In my android project I am writing a program to connect to a server and below are the libraries that I need to use.
但我收到一条错误消息,指出以下问题无法解决.如何解决此错误?我在 Windows 上使用 Eclipse JAVA EE.
But I get an error saying the following cannot be resolved. How to resolve this error? I am using eclipse JAVA EE on Windows.
import org.apache.http.entity.mime.MultipartEntity;
import org.apache.http.entity.mime.content.ContentBody;
import org.apache.http.entity.mime.content.FileBody;
import org.apache.http.entity.mime.content.StringBody;
推荐答案
从 apache 公共站点 并将它们添加到项目和路径中.
Download the jars from the apache commons site and add them to project and path.
现在在 Apache HttpComponents http://hc.apache.org/downloads.cgi一个>
now in Apache HttpComponents http://hc.apache.org/downloads.cgi
这篇关于未找到 Android 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文