在LatinIME(AOSP)

时间:2017-09-25 22:31:45

标签: java android android-source

我检查了Google LatinIME。然后我将java文件夹导入Android Studio

我跑了,设置了(我在手机设置中选择了键盘,我选择了语言布局) 但在测试期间(通过关注edittextapplication崩溃并出现错误:

  

android.view.InflateException:二进制XML文件行#29:二进制XML   文件行#21:错误类膨胀   com.android.inputmethod.keyboard.emoji.EmojiPalettesView

这是完整的StackTrace:

  

致命的例外:主要                                                      过程:com.android.inputmethod.latin,PID:19332                                                      android.view.InflateException:二进制XML文件行#29:二进制XML   文件行#21:错误类膨胀   com.android.inputmethod.keyboard.emoji.EmojiPalettesView                                                          在android.view.LayoutInflater.inflate(LayoutInflater.java:539)                                                          在android.view.LayoutInflater.inflate(LayoutInflater.java:423)                                                          在android.view.LayoutInflater.inflate(LayoutInflater.java:374)                                                          在com.android.inputmethod.keyboard.KeyboardSwitcher.onCreateInputView(KeyboardSwitcher.java:464)                                                          在com.android.inputmethod.latin.LatinIME.onCreateInputView(LatinIME.java:752)                                                          在android.inputmethodservice.InputMethodService.updateInputViewShown(InputMethodService.java:1117)                                                          在android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1473)                                                          在android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1447)                                                          在android.inputmethodservice.InputMethodService $ InputMethodImpl.showSoftInput(InputMethodService.java:437)                                                          在android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:203)                                                          在com.android.internal.os.HandlerCaller $ MyHandler.handleMessage(HandlerCaller.java:37)                                                          在android.os.Handler.dispatchMessage(Handler.java:102)                                                          在android.os.Looper.loop(Looper.java:148)                                                          在android.app.ActivityThread.main(ActivityThread.java:5551)                                                          at java.lang.reflect.Method.invoke(Native Method)                                                          在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:730)                                                          在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)                                                       引起:android.view.InflateException:二进制XML文件行#21:错误   膨胀班   com.android.inputmethod.keyboard.emoji.EmojiPalettesView                                                          在android.view.LayoutInflater.createView(LayoutInflater.java:645)                                                          在android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)                                                          在android.view.LayoutInflater.parseInclude(LayoutInflater.java:941)                                                          在android.view.LayoutInflater.rInflate(LayoutInflater.java:831)                                                          在android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)                                                          在android.view.LayoutInflater.inflate(LayoutInflater.java:515)                                                          在android.view.LayoutInflater.inflate(LayoutInflater.java:423)                                                          在android.view.LayoutInflater.inflate(LayoutInflater.java:374)                                                          在com.android.inputmethod.keyboard.KeyboardSwitcher.onCreateInputView(KeyboardSwitcher.java:464)

问题: 帮帮我,我做错了什么?

0 个答案:

没有答案