eclipse 如何解决eclipse中“无法解决”的问题?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5000722/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:46:30  来源:igfitidea点击:

How to fix the issue in eclipse "cannot be resolved"?

androideclipse

提问by jfalexvijay

I am developing an Android application. Yesterday I have changed my system. Now I am using Mac OS for development.

我正在开发一个 Android 应用程序。昨天我换了系统。现在我使用 Mac OS 进行开发。

Just I copied the project from my previous System to current System. I have imported the Project in Eclipse.

只是我将项目从我以前的系统复制到当前系统。我已经在 Eclipse 中导入了项目。

The problem is; Now I am getting following issue.
"org.apache.http.entity.mime cannot be resolved"

问题是; 现在我遇到了以下问题。
"org.apache.http.entity.mime cannot be resolved"

How to resolve this issue ?

如何解决这个问题?

回答by Tanmay Mandal

You need to add the required jar to your build path.Right click on your project in the Package Explorer,then select Build Path -> Configure Build Path, clicki on Librariesthen click on Add JARs. Now point your required.jarfrom the Add JARsdialog.

您需要将所需的 jar 添加到您的构建路径中。右键单击您的项目Package Explorer,然后选择Build Path -> Configure Build PathLibraries然后单击 Add JARs。现在required.jarAdd JARs对话框中指向您。