I tested my application on many devices and everything is going fine, but when I try to create a signed apk, the following message appears: Expected resource interpolator like [ResourceType]
This line seems to be a problem:
scaleDown.setInterpolator(AnimationUtils.loadInterpolator(activity, android.R.anim.decelerate_interpolator));
Behind this line there is a class called AnimationUtils, this class belongs to the android SDK, so I don’t understand why, when I check its source code, the following imports show me Cannot resolve symbol
import android.annotation.AnimRes;
import android.annotation.InterpolatorRes;
I already tried to clean and rebuild.
source
share