Title: Android: App crash on Android version ≤ 8 when using FormattedString · Issue #10702 · NativeScript/NativeScript · GitHub
Open Graph Title: Android: App crash on Android version ≤ 8 when using FormattedString · Issue #10702 · NativeScript/NativeScript
X Title: Android: App crash on Android version ≤ 8 when using FormattedString · Issue #10702 · NativeScript/NativeScript
Description: Issue Description App crashes on older devices because of
Open Graph Description: Issue Description App crashes on older devices because of
X 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 An...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/10702
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Android: App crash on Android version ≤ 8 when using FormattedString","articleBody":"### Issue Description\n\nApp crashes on older devices because of `\u003cFormattedString\u003e` \n\n### Reproduction\n\nCreate a new app, use the `\u003cFormattedString\u003e` and run it on older Android device. I tested with Android 8.\n\n### Relevant log output (if applicable)\n\n```shell\nError: Calling js method onCreateView failed\nError: java.lang.NoSuchMethodError: No direct method \u003cinit\u003e(Landroid/graphics/Typeface;)V in class Landroid/text/style/TypefaceSpan; or its super classes (declaration of 'android.text.style.TypefaceSpan'\n```\n\n### Environment\n\n⚠ Update available for component nativescript. Your current version is 8.8.2 and the latest available version is 8.8.3.\n⚠ 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.\n✔ Component @nativescript/ios has 8.8.2 version and is up to date.\n✔ Component @nativescript/android has 8.8.6 version and is up to date.\n\n### Please accept these terms\n\n- [x] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\n- [x] This is a bug report\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/asharghi","@type":"Person","name":"asharghi"},"datePublished":"2025-02-21T13:09:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/10702/NativeScript/issues/10702"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:326f6f26-75de-a80c-53e9-e49077650005 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B12E:3D8EC2:192818:221BEE:6A5FB9AB |
| html-safe-nonce | 0b32c2536cca571e349dcc934ecdc9cfe0ee13e02505b0a5ab84220bbcf205fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTJFOjNEOEVDMjoxOTI4MTg6MjIxQkVFOjZBNUZCOUFCIiwidmlzaXRvcl9pZCI6IjIwNDI2MzIzNDgzNTQxOTc5MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4ed296b2fd2159ae69bb0672c7887cd20214a28f020bde59c92ae4b02ebb2ea3 |
| hovercard-subject-tag | issue:2868990942 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/10702/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37c58dc5aaa96e014303e90942470d3008916a309ef1b5137ee2c97099fe259f/NativeScript/NativeScript/issues/10702 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37c58dc5aaa96e014303e90942470d3008916a309ef1b5137ee2c97099fe259f/NativeScript/NativeScript/issues/10702 |
| og:image:alt | Issue Description App crashes on older devices because of |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asharghi |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0cfc367faf9c4c774d2a903897aa214c786247c4f45ffcee48cda2b819fb0c8 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 94569c859bc88d6bf7de7e0ce3f2a11cd529a131 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width