进口机器人无法解析机器人

由网友(伴你余生)分享简介:我开了,我已经在一段时间今天没开在Eclipse中的一个项目。我无法编译由于某种(莫名)错误。I opened a project that I had not opened in a while in Eclipse today. I was unable to compile due to some (inexp...

我开了,我已经在一段时间今天没开在Eclipse中的一个项目。我无法编译由于某种(莫名)错误。

I opened a project that I had not opened in a while in Eclipse today. I was unable to compile due to some (inexplicable) errors.

import android.app.Activity;
import android.os.Bundle;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import android.view.animation.Animation;
import android.content.Intent;

产生以下错误:

produces the following error:

进口机器人无法得到解决。

the import android could not be resolved

我能做些什么来解决这个问题呢?

What can I do to resolve this problem?

推荐答案

第一次尝试清洁/构建项目。

First try clean / build your project.

如果问题仍然存在。右键单击项目 - >进入属性 - >去到Android - >选择Android版本,并应工作

If the problem persists. Right click on the project -> go to properties -> go to android -> select the android version and that should work.

希望它帮助。

阅读全文

相关推荐

最新文章