进口机器人无法解析 [英] the import android could not be resolved

查看:126
本文介绍了进口机器人无法解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开了,我已经在一段时间今天没开在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.

希望它帮助。

这篇关于进口机器人无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆