Inspectopedia Help

String.format string doesn't match the XML format string

String.format string doesn't match the XML format string

This lint check ensures the following:

(1) If there are multiple translations of the format string, then all translations use the same type for the same numbered arguments

(2) The usage of the format string in Java is consistent with the format string, meaning that the parameter types passed to String.format matches those in the format string.

Issue id: StringFormatMatches

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023