AnsweredAssumed Answered

Marshmallow  - Google Korean Input app not working.

Question asked by Umar Ali on Jul 10, 2018

Hi All,

 

I am trying to make Google Korean Input app work on a Marshmallow build. The application installs but does not work.

 

My device is 160dpi (1024 x 600 pixels) with Freescale i.MX6 Quad/DualLite

 

Here is what happens when I try to run Google Korean App.

 

1. Install the Google Korean Input apk using adb install.

2. Go to Settings -> Language And Input. Configure Keyboard & input methods to show Google Korean Input.

3. Open Browser and tap on any text field.

4. English keyboard will show.

5. Long Press Space bar to show Change keyboard dialog.

6. Select Korean.

 

A crash dialog is shown "Unfortunately, Google Korean Input has stopped.

 

The logcat output when the Google Korean Input crashes is below:

 

--------------------------------------------------------START------------------------------------------------------------

E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.google.android.inputmethod.korean, PID: 5046
E AndroidRuntime: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class com.google.android.apps.inputmethod.libs.framework.keyboard.SoftKeyboardView
E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
E AndroidRuntime: at axk.inflate(PG:9)
E AndroidRuntime: at axv.inflate(PG:14)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.GoogleInputMethodService.loadSoftKeyboardView(PG:1642)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundle.loadSoftKeyboardView(PG:650)
E AndroidRuntime: at ara.loadSoftKeyboardView(PG:4)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.keyboard.KeyboardViewHelper.a(PG:26)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.keyboard.Keyboard.getActiveKeyboardView(PG:26)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundle.a(PG:35)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundle.a(PG:60)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundle.b(PG:137)
E AndroidRuntime: at aho.onKeyboardReady(PG:43)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundle.a(PG:687)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundle.a(PG:126)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundle.b(PG:116)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundleManager.f(PG:216)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.InputBundleManager.b(PG:210)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.core.GoogleInputMethodService.onStartInputView(PG:562)
E AndroidRuntime: at com.google.android.inputmethod.korean.KoreanIme.onStartInputView(PG:67)
E AndroidRuntime: at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1491)
E AndroidRuntime: at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1448)
E AndroidRuntime: at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:438)
E AndroidRuntime: at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:203)
E AndroidRuntime: at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:37)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5422)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class com.google.android.apps.inputmethod.libs.framework.keyboard.SoftKeyboardView
E AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:645)
E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
E AndroidRuntime: ... 30 more
E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Native Method)
E AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:619)
E AndroidRuntime: ... 33 more
E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 13: TypedValue{t=0x2/d=0x7f01000e a=2}
E AndroidRuntime: at android.content.res.TypedArray.getDrawable(TypedArray.java:867)
E AndroidRuntime: at android.view.View.<init>(View.java:3954)
E AndroidRuntime: at android.view.ViewGroup.<init>(ViewGroup.java:573)
E AndroidRuntime: at android.widget.FrameLayout.<init>(FrameLayout.java:97)
E AndroidRuntime: at android.widget.FrameLayout.<init>(FrameLayout.java:92)
E AndroidRuntime: at android.widget.FrameLayout.<init>(FrameLayout.java:88)
E AndroidRuntime: at com.google.android.apps.inputmethod.libs.framework.keyboard.SoftKeyboardView.<init>(PG:13)
E AndroidRuntime: ... 35 more
I OpenGLRenderer: Initialized EGL, version 1.4
E BufferQueueProducer: [Application Error: com.google.android.inputmethod.korean] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
V Qt : frontmostWindowChanged ::: packageName:android
W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:763 android.content.ContextWrapper.sendBroadcast:396 org.qtproject.qt5.android.bindings.WindowChangeDetectingService$1.run:44 android.os.Handler.handleCallback:739 android.os.Handler.dispatchMessage:95
I Process : Sending signal. PID: 5046 SIG: 9
W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@cddd20e attribute=null, token = android.os.BinderProxy@d759edb
I WindowState: WIN DEATH: Window{9435a03 u0 InputMethod}
W InputMethodManagerService: Session failed to close due to remote exception
W InputMethodManagerService: android.os.DeadObjectException
W InputMethodManagerService: at android.os.BinderProxy.transactNative(Native Method)
W InputMethodManagerService: at android.os.BinderProxy.transact(Binder.java:503)
W InputMethodManagerService: at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:305)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.finishSessionLocked(InputMethodManagerService.java:1602)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.clearClientSessionLocked(InputMethodManagerService.java:1593)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1619)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1638)
W InputMethodManagerService: at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1228)
W InputMethodManagerService: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1242)
W InputMethodManagerService: at android.os.Handler.handleCallback(Handler.java:739)
W InputMethodManagerService: at android.os.Handler.dispatchMessage(Handler.java:95)
W InputMethodManagerService: at android.os.Looper.loop(Looper.java:148)
W InputMethodManagerService: at com.android.server.SystemServer.run(SystemServer.java:283)
W InputMethodManagerService: at com.android.server.SystemServer.main(SystemServer.java:168)
W InputMethodManagerService: at java.lang.reflect.Method.invoke(Native Method)
W InputMethodManagerService: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
W InputMethodManagerService: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
W InputMethodManagerService: Session failed to close due to remote exception
W InputMethodManagerService: android.os.DeadObjectException
W InputMethodManagerService: at android.os.BinderProxy.transactNative(Native Method)
W InputMethodManagerService: at android.os.BinderProxy.transact(Binder.java:503)
W InputMethodManagerService: at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:305)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.finishSessionLocked(InputMethodManagerService.java:1602)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.clearClientSessionLocked(InputMethodManagerService.java:1593)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:1619)
W InputMethodManagerService: at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:1638)
W InputMethodManagerService: at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1228)
W InputMethodManagerService: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1242)
W InputMethodManagerService: at android.os.Handler.handleCallback(Handler.java:739)
W InputMethodManagerService: at android.os.Handler.dispatchMessage(Handler.java:95)
W InputMethodManagerService: at android.os.Looper.loop(Looper.java:148)
W InputMethodManagerService: at com.android.server.SystemServer.run(SystemServer.java:283)
W InputMethodManagerService: at com.android.server.SystemServer.main(SystemServer.java:168)
W InputMethodManagerService: at java.lang.reflect.Method.invoke(Native Method)
W InputMethodManagerService: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
W InputMethodManagerService: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
I ActivityManager: Process com.google.android.inputmethod.korean (pid 5046) has died
W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:763 com.android.server.am.ActivityManagerService.appDiedLocked:4731 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1332 android.os.BinderProxy.sendDeathNotice:558 <bottom of call stack>
W ActivityManager: Scheduling restart of crashed service com.google.android.inputmethod.korean/.KoreanIme in 1000ms
W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0

 

------------------------------------------------------------END------------------------------------------------------------

 

I have tried using OpenGAPPS and microG one by one but the logcat output is the same.

 

Can someone help me resolve the issue. What am I missing to make it work?

Outcomes