Category Archives: Uncategorized

2,527 views

IndexOutOfBounds TextView Html Android 4.1 error

Try before html tags put space and check if every tag is closed b – /b. For example: My text (<i>some text</i>) blah blah… Change to: My text ( <i>some text</i>) blah blah… “java.lang.IndexOutOfBoundsException at android.graphics.Paint.getTextRunAdvances(Paint.java:1731) at android.graphics.Paint.getTextRunAdvances(Paint.java:1704) at android.text.MeasuredText.addStyleRun(MeasuredText.java:164) … Continue reading

Posted in Bugs, warnings, errors, Eclipse, Uncategorized | Tagged , | Comments Off on IndexOutOfBounds TextView Html Android 4.1 error
4,268 views

Multiple substitutions specified in non-positional format

Multiple substitutions specified in non-positional format;did you mean to add the formatted=”false” attribute? Wiktionary, WiktionarySimple location C:\documents\WiktionarySimple\res\values\strings.xml Issue:   <string name="template_user_agent">"%s/%s (Linux; Android)"</string> <string name="template_wotd_title">"Wiktionary:Word of the day/%s %s"</string> <string name="template_define_url">"http://en.wiktionary.org/wiki/%s"</string> Solution: <string name="template_user_agent" translatable="false">"%1$s/%2$s (Linux; Android)"</string> <string name="template_wotd_title">"Wiktionary:Word of … Continue reading

Posted in Bugs, warnings, errors, Uncategorized | Tagged , | Comments Off on Multiple substitutions specified in non-positional format