question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting targetSdkVersion > 23 causes FullPath errors for animated selectors

See original GitHub issue

If you set targetSdkVersion to 24 or 25, you get some weird vector errors like below. It seems to be affecting animated selectors and transition data. It does not just error for alpha but seems to error on any transition property.

java.lang.IllegalArgumentException: Property: alpha is not supported for FullPath
   at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.createRTAnimatorForFullPath(AnimatedVectorDrawable.java:1325)
   at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.createRTAnimator(AnimatedVectorDrawable.java:1248)
   at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.parseAnimatorSet(AnimatedVectorDrawable.java:1220)
   at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.init(AnimatedVectorDrawable.java:1187)
   at android.graphics.drawable.AnimatedVectorDrawable.ensureAnimatorSet(AnimatedVectorDrawable.java:851)
   at android.graphics.drawable.AnimatedVectorDrawable.start(AnimatedVectorDrawable.java:834)
   at android.graphics.drawable.AnimatedStateListDrawable$AnimatedVectorDrawableTransition.start(AnimatedStateListDrawable.java:339)
   at android.graphics.drawable.AnimatedStateListDrawable.selectTransition(AnimatedStateListDrawable.java:226)
   at android.graphics.drawable.AnimatedStateListDrawable.onStateChange(AnimatedStateListDrawable.java:146)
   at android.graphics.drawable.Drawable.setState(Drawable.java:735)
   at android.widget.ImageView.drawableStateChanged(ImageView.java:1246)
   at android.view.View.refreshDrawableState(View.java:18045)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nickbutchercommented, Nov 2, 2016

@alexjlockwood thanks so much for the investigation! Fix incoming.

0reactions
alexjlockwoodcommented, Nov 2, 2016

BTW, I also had to change the translationX values as well… they are currently animated between ‘100’ and ‘20’… but this was way too much. Using ‘10’ and ‘2’ seemed like they were closer to what you would want… maybe a typo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ApplicationInfo - Android Developers
Full path to the default directory assigned to the package for its persistent data. ... Causes the current thread to wait until another...
Read more >
Diff - 6d6bbf5f2808e822326322e03c9d336906ff12e4^2 ...
diff --git a/core/java/android/animation/ValueAnimator.java ... + String[] libDirs, int displayId, Configuration overrideConfiguration, + LoadedApk pkgInfo) ...
Read more >
Android Programming - The Big Nerd Ranch Guide - Description
warranty of any kind and assume no responsibility for errors or omissions. ... The minimum SDK version and target SDK version are set...
Read more >
sitemap-questions-141.xml - Stack Overflow
... 2019-07-23 https://stackoverflow.com/questions/2646901/what-are-the-reasons-to-use-sql-server-instead-of-mysql-with-a-complex-net-proj 2019-07-23 ...
Read more >
Activity | | Cocos2d-x
getPositionAt runs fine in javascript, but gives an error in jsb (ios, ... 23:10 C++: RE: A New Animation Solution based on SWF...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found