Skip to content

Instantly share code, notes, and snippets.

@bmc08gt
Created September 4, 2018 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmc08gt/7d5d886873cf351ccf511487fe712839 to your computer and use it in GitHub Desktop.
Save bmc08gt/7d5d886873cf351ccf511487fe712839 to your computer and use it in GitHub Desktop.
Lottie CompositionLayer Android Pie crash with clipRect
Fatal Exception: java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed
at android.graphics.Canvas.checkValidClipOp(Canvas.java:779)
at android.graphics.Canvas.clipRect(Canvas.java:826)
at com.airbnb.lottie.CompositionLayer.drawLayer(CompositionLayer.java:91)
at com.airbnb.lottie.BaseLayer.draw(BaseLayer.java:175)
at com.airbnb.lottie.LottieDrawable.draw(LottieDrawable.java:305)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment