liuyueyi / quick-chinese-transfer

简繁转换,支持香港繁体,台湾繁体与简体互转
59 stars 9 forks source link

Input dispatching timed out (29750fb com.test.TestActivity (server) is not responding. Waited 10003ms for MotionEvent) #2

Open HelloNick666 opened 3 years ago

HelloNick666 commented 3 years ago

不知道为什么,调用您的库后,偶现这种错误,不知道是不是输入的字体有问题,导致长时间没有响应 1.报错一
at java.util.HashMap.getNode (HashMap.java:568) at java.util.HashMap.get (HashMap.java:556) at com.github.liuyueyi.quick.transfer.TrieNode.child (TrieNode.java:66) at com.github.liuyueyi.quick.transfer.Trie.bestMatch (Trie.java:62) at com.github.liuyueyi.quick.transfer.dictionary.BasicDictionary.convert (BasicDictionary.java:64) at com.github.liuyueyi.quick.transfer.dictionary.BasicDictionary.convert (BasicDictionary.java:84) at com.github.liuyueyi.quick.transfer.ChineseUtils.s2t (ChineseUtils.java:22) at com.nick.novel.bookreader.utils.StringUtils.convertCC (StringUtils.java:159) 2.报错二 at java.io.PushbackReader.read (PushbackReader.java:107) at java.io.Reader.read (Reader.java:140) at com.github.liuyueyi.quick.transfer.dictionary.BasicDictionary.convert (BasicDictionary.java:63) at com.github.liuyueyi.quick.transfer.dictionary.BasicDictionary.convert (BasicDictionary.java:84) at com.github.liuyueyi.quick.transfer.ChineseUtils.s2t (ChineseUtils.java:22) at com.nick.novel.bookreader.utils.StringUtils.convertCC (StringUtils.java:159)

HelloNick666 commented 3 years ago

简体转繁体的时候出现这种一直无响应的问题。

liuyueyi commented 3 years ago

必现么,有测试用例么