我正在使用此代码在 eclipse 中运行。 Search for Download the sample
在eclipse中导入下载的项目后。我在
import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
Eclipse 找不到类 Animation、ObjectAnimator 和 ValueAnimator
如有任何建议,我们将不胜感激。 谢谢
最佳答案
将您的动画 jar 包含在 eclipse BuildPath 中。右键单击项目转到 Buildpath->Configure Build Path ->Libraries
并添加你的 jar。也有可能您的 Animator 和其他类被提及时使用了错误的包名称。检查出。它应该可以解决问题。
关于android - 在eclipse中导入现有项目时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12774960/