[Android General] jeroen_13:
I cannot get it to work using your method (Running Android Pie, Google Pixel 2)

Logcat below, what went wrong?

12-11 20:05:46.011 5765 5765 W SubtypeLocaleUtils: KeyboardLayoutSet not found, use QWERTY: locale=en_AU extraValue=TrySuppressingImeSwitcher,AsciiCapable,SupportTouchPositionCorrection,EmojiCapable
12-11 20:05:46.014 5765 5765 W RichInputMethodSubtype: Can't find emoji subtype
12-11 20:05:46.014 5765 5765 W RichInputMethodSubtype: No input method subtype found; returning dummy subtype: Multi-lingual subtype: android.view.inputmethod.InputMethodSubtype@d78b2ed0, zz
12-11 20:05:46.076 5765 5765 E putmethod.lati: No implementation found for long com.android.inputmethod.keyboard.ProximityInfo.setProximityInfoNative(int, int, int, int, int, int, int[], int, int[], int[], int[], int[], int[], float[], float[], float[]) (tried Java_com_android_inputmethod_keyboard_ProximityInfo_setProximityInfoNative and Java_com_android_inputmethod_keyboard_ProximityInfo_setProximityInfoNative__IIIIII_3II_3I_3I_3I_3I_3I_3F_3F_3F)
12-11 20:05:46.078 5765 5765 D AndroidRuntime: Shutting down VM
12-11 20:05:46.081 5765 5765 E AndroidRuntime: FATAL EXCEPTION: main
12-11 20:05:46.081 5765 5765 E AndroidRuntime: Process: com.android.inputmethod.latin, PID: 5765
12-11 20:05:46.081 5765 5765 E AndroidRuntime: android.view.InflateException: Binary XML file line #29: Binary XML file line #21: Error inflating class com.android.inputmethod.keyboard.emoji.EmojiPalettesView
12-11 20:05:46.081 5765 5765 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #21: Error inflating class com.android.inputmethod.keyboard.emoji.EmojiPalettesView
12-11 20:05:46.081 5765 5765 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance0(Native Method)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:647)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:965)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.KeyboardSwitcher.onCreateInputView(KeyboardSwitcher.java:464)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.latin.LatinIME.onCreateInputView(LatinIME.java:789)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.inputmethodservice.InputMethodService.updateInputViewShown(InputMethodService.java:1427)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1833)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1801)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:570)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:207)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:37)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6669)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.android.inputmethod.keyboard.ProximityInfo.setProximityInfoNative(int, int, int, int, int, int, int[], int, int[], int[], int[], int[], int[], float[], float[], float[]) (tried Java_com_android_inputmethod_keyboard_ProximityInfo_setProximityInfoNative and Java_com_android_inputmethod_keyboard_ProximityInfo_setProximityInfoNative__IIIIII_3II_3I_3I_3I_3I_3I_3F_3F_3F)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.ProximityInfo.setProximityInfoNative(Native Method)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.ProximityInfo.createNativeProximityInfo(ProximityInfo.java:222)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.ProximityInfo.<init>(ProximityInfo.java:81)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.Keyboard.<init>(Keyboard.java:123)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.internal.KeyboardBuilder.build(KeyboardBuilder.java:196)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.KeyboardLayoutSet.getKeyboard(KeyboardLayoutSet.java:232)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.KeyboardLayoutSet.getKeyboard(KeyboardLayoutSet.java:204)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.emoji.EmojiCategory.getKeyboard(EmojiCategory.java:374)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.emoji.EmojiCategory.addShownCategoryId(EmojiCategory.java:223)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.emoji.EmojiCategory.<init>(EmojiCategory.java:176)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.emoji.EmojiPalettesView.<init>(EmojiPalettesView.java:119)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: at com.android.inputmethod.keyboard.emoji.EmojiPalettesView.<init>(EmojiPalettesView.java:95)
12-11 20:05:46.081 5765 5765 E AndroidRuntime: ... 24 more
12-11 20:05:46.089 1183 1200 I ActivityManager: Showing crash dialog for package com.android.inputmethod.latin u0