我正在实施SpellCheckerSession.SpellCheckerSessionListener
,但由于Android 4.0.3和4.0.4中的onGetSentenceSuggestions
,已实施的方法NoClassDefFoundError
导致SentenceSuggestionsInfo
。
@Override
public void onGetSentenceSuggestions(SentenceSuggestionsInfo[] sentenceSuggestionsInfos) {
}
答案 0 :(得分:0)
以下是如何处理未被捕获的NoClassDefFoundError
:
try {
// your current code
}catch(NoClassDefFoundError e) {
// handle problem
}