The following is the logcat entry:
I/ActivityManager( 924): Start proc com.android.inputmethod.latin for
service com.android.inputmethod.latin/.LatinIME: pid=1188 uid=10001
gids={3003}
D/dalvikvm( 1188): Trying to load lib /system/lib/libjni_latinime.so
0x4373f838
D/dalvikvm( 1188): Added shared lib /system/lib/libjni_latinime.so
0x4373f838
W/InputMethodManager( 961): Ignoring onBind: cur seq=29, given seq=30
D/AndroidRuntime( 1188): Shutting down VM
W/dalvikvm( 1188): threadid=3: thread exiting with uncaught exception
(group=0x4000fe70)
E/AndroidRuntime( 1188): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 1188): android.view.WindowManager$BadTokenException:
Unable to add window android.view.viewroo...@43770f48 -- permission
denied for this window type
E/AndroidRuntime( 1188): at android.view.ViewRoot.setView
(ViewRoot.java:449)
E/AndroidRuntime( 1188): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:178)
E/AndroidRuntime( 1188): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
E/AndroidRuntime( 1188): at android.app.Dialog.show(Dialog.java:
231)
E/AndroidRuntime( 1188): at
android.inputmethodservice.InputMethodService.showWindowInner
(InputMethodService.java:1335)
E/AndroidRuntime( 1188): at
android.inputmethodservice.InputMethodService.showWindow
(InputMethodService.java:1278)
E/AndroidRuntime( 1188): at
android.inputmethodservice.InputMethodService
$InputMethodImpl.showSoftInput(InputMethodService.java:388)
E/AndroidRuntime( 1188): at
android.inputmethodservice.IInputMethodWrapper.executeMessage
(IInputMethodWrapper.java:148)
E/AndroidRuntime( 1188): at
com.android.internal.os.HandlerCaller$MyHandler.handleMessage
(HandlerCaller.java:45)
E/AndroidRuntime( 1188): at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 1188): at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime( 1188): at android.app.ActivityThread.main
(ActivityThread.java:3948)
E/AndroidRuntime( 1188): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1188): at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 1188): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 1188): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 1188): at dalvik.system.NativeStart.main
(Native Method)
I/Process ( 924): Sending signal. PID: 1188 SIG: 3
I/dalvikvm( 1188): threadid=7: reacting to signal 3
E/ActivityThread( 924): Failed to find provider info for
android.server.checkin
E/Checkin ( 924): Error reporting crash:
java.lang.IllegalArgumentException: Unknown URL
content://android.server.checkin/crashes
I/dalvikvm( 1188): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 1188): Sending signal. PID: 1188 SIG: 9
I/ActivityManager( 924): Process com.android.inputmethod.latin (pid
1188) has died.
W/ActivityManager( 924): Scheduling restart of crashed service
com.android.inputmethod.latin/.LatinIME in 5000ms
On May 25, 9:25 am, Michael Trimarchi <[email protected]>
wrote:
> Hi,
>
> [email protected] wrote:
> > So is there anything we can do to solve it?
>
> > I didn't change anything related to permissions, why would a problem
> > like this occur?
>
> Can you send me the crash. The best thing is to understand
> where the crash is and look at the code. The code is under
> packages/inputmethods/LatinIme/src I think.
> Michael
>
>
>
> > On May 23, 6:54 am, Jim Pai <[email protected]> wrote:
>
> >> I have met the situation, but it's happened on PinyinIME.
> >> I checked the log, seems the permission so that the CandidateView
> >> can't be create.
>
> >> On 5月23日, 上午12時32分, "[email protected]" <[email protected]> wrote:
>
> >>> Can somebody guide me on how to debug this please?
>
> >>> LatinIME is not working on my device. How can I debug it?
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---