Fixed
Status Update
Comments
na...@google.com <na...@google.com>
jo...@google.com <jo...@google.com>
an...@google.com <an...@google.com> #3
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Meerkat | 2024.3.1 Canary 2
- Android Gradle Plugin 8.9.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
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.