EmojiPalettesView class bloat error in LatinIME (AOSP)

I checked Google LatinIME . Then I imported the java folder into Android Studio .

I started it, set it up (I selected the keyboard in the phone settings, I selected the language) But during testing (by focusing on edittext ) the application crashes with an error:

android.view.InflateException: binary line of XML file # 29: binary XML code line of file # 21: error inflating class com.android.inputmethod.keyboard.emoji.EmojiPalettesView

Here is the full stacktrace:

FATAL EXCEPTION: main Process: com.android.inputmethod.latin, PID: 19332 android.view.InflateException: binary line of XML file # 29: binary XML code line of file # 21: error inflating class com.android.inputmethod.keyboard. emoji.EmojiPalettesView on android.view.LayoutInflater.inflate (LayoutInflater.java<39) on android.view.LayoutInflater.inflate (LayoutInflater.java:423) on android.view.LayoutInflater.inflate (LayoutInflater.java opin74) on com .android.inputmethod.keyboard.KeyboardSwitcher.onCreateInputView (KeyboardSwitcher.java:464) on com.android.inputmethod.latin.LatinIME.onCreateInputView (LatinIME.java:752) in android.inputmethodservice.InputMethodService.updateInputViewShown (InputMethodService.java:1117) in android.inputmethodservice.InputMethService.neroderinderner android.inputmethodservice.InputMethodService.showWindow (InputMethodService.java:1447) in android.inputmethodservice.InputMethodService $ InputMethodImpl.showSoftInput (InputMethodService.java:437viceMethodvice .internal.os.HandlerCaller $ MyHandler.handleMessage (HandlerCaller.java:37) on android.os.Handler.dispatchMessage (Handler.java:102) on android.os.Looper.loop (Looper.java:148) at android.app.ActivityThread.main (ActivityThread.java UP551) in java.lang. reflect.Method.invoke (native method) at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:620) Called : android.view.InflateException: binary string of XML file # 21: Error bloating class com.android.inputmethod.keyboard.emoji.EmojiPalettesView on android.view.LayoutInflater.createView (LayoutInflater.java:645) on android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:764) on android.view.LayoutInflater.parseInclude (LayoutInflater.java:941) on android.view. LayoutInflater.rInflate (LayoutInflater.java:831) on android.view.LayoutInflater.rInflateChildren (LayoutInflater.java:798) on android.view.LayoutInflater.inflate (LayoutInflater.java►15) on android.view.LayoutInflater.inflate .java: 423) on android.view.LayoutInflater.inflate (LayoutInflater.javahaps74) at com.android.inputmethod.keyboard.KeyboardSwitcher.onCreateInputView (KeyboardSwitcher.java:464)

Question: Help me, what am I doing wrong?

+7
java android android-source
source share

No one has answered this question yet.

See related questions:

28
Error inflating class android.support.design.widget.FloatingActionButton
one
Google PlaceAutocompleteFragment Error Error
one
How to fix "Error inflating class android.support.design.widget.NavigationView"
0
Iam get android.view.InflateException: binary line of XML file 24: class bloat error
0
How not to catch such a table of sugar errors?
0
Error inflating a fragment of the Android kotlin class
0
InflateException - floating action button
0
CollapsingToolbarLayout class bloat error after adding settings
-one
Failed to inflate CollapsingToolbarLayout in Android
-6
Error inflating class info.hoang8f.widget.FButton

All Articles