Compiling the vector render Java output with Android API 28 throws these errors:
When creating a type face, e.g.: Typeface.create(Typeface.SANS_SERIF, 0) style must be explicitly specified using the constants in Typeface class, e.g.: Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL)
Canvas.save() method does not take any parameters anymore.
Also Canvas.saveLayerAlpha() needs no flags on API v21 and up, or only ALL_SAVE_FLAGS can be specified.
Compiling the vector render Java output with Android API 28 throws these errors:
When creating a type face, e.g.:
Typeface.create(Typeface.SANS_SERIF, 0)
style must be explicitly specified using the constants inTypeface
class, e.g.:Typeface.create(Typeface.SANS_SERIF, Typeface.NORMAL)
Canvas.save()
method does not take any parameters anymore.Also
Canvas.saveLayerAlpha()
needs no flags on API v21 and up, or only ALL_SAVE_FLAGS can be specified.