I am facing an issue: android.support.v4.animation.*
is missing and I cannot find any solution.
Android Plugin upgrade to 3.0 requires
buildToolsVersion
andcompileSDKVersion
to 26+ and this package is missing.
I am facing an issue: android.support.v4.animation.*
is missing and I cannot find any solution.
Android Plugin upgrade to 3.0 requires
buildToolsVersion
andcompileSDKVersion
to 26+ and this package is missing.
You won't find android.support.v4.animation.*
in 26+ seemingly because min SDK version has been increased to 14 from 26.0.0 Alpha 1
as described here:
Note: The minimum SDK version has been increased to 14. As a result, many APIs that existed only for API < 14 compatibility have been deprecated. Clients of these APIs should migrate to their framework equivalents as noted in the reference page for each deprecated API.
Many new classes, methods, and constants added to provide backwards-compatible support for platform APIs added in O Preview as specified here.
Hope you're using 26+ support lib version for com.android.support:appcompat-v7
. Notice diff in ItemTouchHelper
from below 26 and 26+. One includes android.support.v4.animation.*
other doesn't and uses classes from android.animation
package:
android.support.v4.animation.*
. @Lodovico –
Jauch android.view.animation.*
–
Sandal supportLib 26.0.0+以上AnimatorCompatHelper class be remove
so clearInterpolator(view) not found
we can to use:
TimeInterpolator mDefaultInterpolator = new ValueAnimator().getInterpolator();
view.animate().setInterpolator(mDefaultInterpolator);
© 2022 - 2024 — McMap. All rights reserved.
google()
repository. – Jauch