Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse + Robolectric 2.2 + Android 2.2 #669

Closed
firetramp opened this issue Sep 4, 2013 · 1 comment
Closed

Eclipse + Robolectric 2.2 + Android 2.2 #669

firetramp opened this issue Sep 4, 2013 · 1 comment

Comments

@firetramp
Copy link

I am using robolectric 2.2 with dependencies and Android 2.2 libs.

When I want to use Robolectric.shadow(...), I'll get

The type android.animation.Animator cannot be resolved. It is indirectly referenced from required .class files.

The interface android.animation.Animator does not exist in Android 2.2.

@coreydowning
Copy link
Collaborator

You need to build against a newer version of the SDK. 4.x SDK versions will still allow you to target older version of android such as 2.2 by following your AndroidManifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants