Hi, my ‘Show Subtitle’ action menu item isn’t working. Whenever i do click it, the app closes down and a list of errors appear.
The error is UnknownFormatConversionException: Conversion = ‘1’
The line to which the error is pointing(it’s underlined in red)-
The second line in the error log refers to the call to updateSubtitle() in the onOptionsItemSelected(MenuItem) function.
In the strings.xml file, the string ‘subtitle_format’ is defined as ‘%l$s crimes’ with the letter ‘l’ and not the number ‘1’. I’m confused, is this the error? Should instead of the letter it be the number? What is the error?
The app is working fine and opens up and does everything but as i click the ‘Show Subtitle’ menu option, the app crashes.
Any help will be appreciated. Thank you.