0

I am getting an error in the below two import statements

import android.animation.AnimatorSet
import android.animation.ObjectAnimator

Android Studio is showing cannot resolve symbol animation

Andreas
  • 154,647
  • 11
  • 152
  • 247
user8189821
  • 11
  • 1
  • 1

1 Answers1

1

Try: "File" -> "Invalidate Caches..."

Look at this question too (probably a duplicate of): Android Studio says "cannot resolve symbol" but project compiles

Also check if you have imported the animation class in your class.

Lord Tesla
  • 84
  • 6