Fixed
Status Update
Comments
na...@google.com <na...@google.com>
jo...@google.com <jo...@google.com>
tn...@google.com <tn...@google.com> #2
Information redacted by Android Beta Feedback.
an...@google.com <an...@google.com> #3
Thanks for reporting this issue. We have passed this to the development team and will update this issue with more information as it becomes available.
Description
Version used: AGP 8.6.1
With the following error in strings.xml
<string name="invalid_format">This illustrates a broken specifier (%).</string>
getString(R.string.invalid_format, "something")
is correctly raised by StringFormatInvalid Lint rule.
But using Jetpack Compose:
stringResource(R.string.invalid_format, "something")
passes unnoticed leading to Runtime crash.