NineOldAndroids icon indicating copy to clipboard operation
NineOldAndroids copied to clipboard

NineOldAndroids doesn't work with Build Tools 22

Open serso opened this issue 10 years ago • 1 comments

Build Tools 22 removes attributes targeted to higher versions of Android from xml file, copying the original file to an appropriate bucket. On lower versions of Android (f.e. 9) NineOldAndroids can't access such attributes (as they are now in animator-vXX bucket) and crashes.

Build Tools commit which breaks NineOldAndroids: https://android.googlesource.com/platform/frameworks/base/+/28994d8d181c286b39811441ce78399576c2d315%5E%21/#F0

serso avatar Apr 09 '15 11:04 serso

Possible workarounds:

  1. Use Build Tools v. 21
  2. Create animators in the code instead of inflating them from xml files

serso avatar Apr 09 '15 11:04 serso