This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 255
Crash on Android 4.1 and 4.4 - Binary XML file line #94: Error inflating class com.richpath.RichPathView #69
Comments
oh too old Android version :D |
I found a solution. In your app's build.gradle you need to include
And for vector support for less then API 21, add the following to It works, but the animation doesn't work as it should. I need the lines to be drawn one by one (I show how to draw the Japanese alphabet). Now the first line is being drawn and the rest lines just appear (no drawing) Here is the animation code (for API 28 works as expected)
Vector drawable file
So How to fix animation? Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My Gradle
...
implementation 'com.github.tarek360.RichPath:animator:0.1.1'
When I run the application on API 28 everything works fine
When I run the application on API 16 (Android 4.1) or 19 (Android 4.4), the application crashes
Error
Binary XML file line #94: Error inflating class com.richpath.RichPathView
Could you help please
A lot of thanks!
The text was updated successfully, but these errors were encountered: