java.lang.IndexOutOfBoundsException: replace (31 ... 28) has end before start


Solutions on the web69

Solution icon of web
via mozilla.com by Unknown author, 9 months ago
replace (31 ... 28) has end before start

Solution icon of web
via mozilla.com by Unknown author, 11 months ago
replace (3 ... 2) has end before start

Solution icon of web
via mozilla.com by Unknown author, 9 months ago
replace (46 ... 34) has end before start

Solution icon of stackoverflow
via Stack Overflow by eyecreate
, 1 year ago
getChars (4255 ... 4211) has end before start

Solution icon of stackoverflow
via Stack Overflow by niels
, 1 year ago
replace (0 ... -1) has end before start

Solution icon of github
replace (4 ... 0) has end before start

Solution icon of github
via GitHub by 0nko
, 6 months ago
setSpan (75 ... -1) has end before start

Solution icon of github
setSpan (980 ... 967) has end before start

Solution icon of github
setSpan (-448 ... -452) has end before start

Solution icon of github
setSpan (365 ... 359) has end before start

Stack trace

java.lang.IndexOutOfBoundsException: replace (31 ... 28) has end before start
	at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates