Bodymovin to Android
Nick Butcher
1.2K15

Nick Butcher, awesome article (and great talks at the dev Summit)! I am trying to convert my after effect animations to SVGs but am running into some issues.

  1. Trying to import the svgs as vector assets results in a parse error. (even your sample here: https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable#OneXML)
  2. My workaround was to just paste the xml files into my drawables folder manually. When I do this, I can get the Android sample to work, however, the files from after effects files have a STRING_TOO_LARGE error. Have you ever seen this? Also, is there a way to make sure we only use elements that are supported on Android?

I am using Android Studio 3.2.1.

Thanks a bunch!