0

I tried a couple of android AOSP keyboards on two of my stock devices : Mi A1 and ASUS M1. But every apk i tried ended up in a crash.

[05-27 11:56:19.335 22542:22542 E/AndroidRuntime] FATAL EXCEPTION: main Process: com.android.inputmethod.latin, PID: 22542 android.view.InflateException: Binary XML file line #29: Binary XML file line #21: Error inflating class com.android.inputmethod.keyboard.emoji.EmojiPalettesView Caused by: android.view.InflateException: Binary XML file line #21: Error inflating class com.android.inputmethod.keyboard.emoji.EmojiPalettesView Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:334) at android.view.LayoutInflater.createView(LayoutInflater.java:647) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:965) at android.view.LayoutInflater.rInflate(LayoutInflater.java:859) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) at android.view.LayoutInflater.inflate(LayoutInflater.java:515) at android.view.LayoutInflater.inflate(LayoutInflater.java:423) at android.view.LayoutInflater.inflate(LayoutInflater.java:374) at com.android.inputmethod.keyboard.KeyboardSwitcher.onCreateInputView(KeyboardSwitcher.java:464) at com.android.inputmethod.latin.LatinIME.onCreateInputView(LatinIME.java:789) at android.inputmethodservice.InputMethodService.updateInputViewShown(InputMethodService.java:1262) at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1656) at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1624) at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:475) at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:196) at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:37) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6518) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) 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) at com.android.inputmethod.keyboard.ProximityInfo.setProximityInfoNative(Native Method) at com.android.inputmethod.keyboard.ProximityInfo.createNativeProximityInfo(ProximityInfo.java:222) at com.android.inputmethod.keyboard.ProximityInfo.(ProximityInfo.java:81) at com.android.inputmethod.keyboard.Keyboard.(Keyboard.java:123) at com.android.inputmethod.keyboard.internal.KeyboardBuilder.build(KeyboardBuilder.java:196) at com.android.inputmethod.keyboard.KeyboardLayoutSet.getKeyboard(KeyboardLayoutSet.java:232) at com.android.inputmethod.keyboard.KeyboardLayoutSet.getKeyboard(KeyboardLayoutSet.java:204) at com.android.inputmethod.keyboard.emoji.EmojiCategory.getKeyboard(EmojiCategory.java:374) at com.android.inputmethod.keyboard.emoji.EmojiCategory.addShownCategoryId(EmojiCategory.java:223) at com.android.inputmethod.keyboard.emoji.EmojiCategory.(EmojiCategory.java:176) at com.android.inputmethod.keyboard.emoji.EmojiPalettesView.(EmojiPalettesView.java:119) at com.android.inputmethod.keyboard.emoji.EmojiPalettesView.(EmojiPalettesView.java:95) ... 24 more

Sample aosp keyboard apk i tried is here.

Is there any other dependency that i need to install along with this apk to make it work?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.