Closed
Description
Issue Description
App crashes on older devices because of <FormattedString>
Reproduction
Create a new app, use the <FormattedString>
and run it on older Android device. I tested with Android 8.
Relevant log output (if applicable)
Error: Calling js method onCreateView failed
Error: java.lang.NoSuchMethodError: No direct method <init>(Landroid/graphics/Typeface;)V in class Landroid/text/style/TypefaceSpan; or its super classes (declaration of 'android.text.style.TypefaceSpan'
Environment
⚠ Update available for component nativescript. Your current version is 8.8.2 and the latest available version is 8.8.3.
⚠ Update available for component @nativescript/core. Your current version is 8.9.0-next-02-20-2025-13443308496 and the latest available version is 8.8.6.
✔ Component @nativescript/ios has 8.8.2 version and is up to date.
✔ Component @nativescript/android has 8.8.6 version and is up to date.
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct