开发者

Handling that annoying "java.lang.IndexOutOfBoundsException: getChars (5 ... 0) has end before start" bug

开发者 https://www.devze.com 2022-12-20 08:52 出处:网络
I get about 50 of these coming from my users each day. I realise that this is a Motorola Droid bug - http://code.go开发者_开发百科ogle.com/p/android/issues/detail?id=5164

I get about 50 of these coming from my users each day.

I realise that this is a Motorola Droid bug - http://code.go开发者_开发百科ogle.com/p/android/issues/detail?id=5164

Is there anyway I can catch this error in my code?


The exception seems to be triggered deep within TextView, so unless you subclass TextView or the variants you use and catch that exception in a protected method, there's not much you can do.

0

精彩评论

暂无评论...
验证码 换一张
取 消