Skip to content Skip to sidebar Skip to footer

Msecurityinputmethodservice Is Null In Logcat

I wrote a little android app that should display the current location (last known location) of the smartphone. Although I copied the example code, and tried several other solutions

Solution 1:

For my Huawei device the following helps:

Dial:

*#*#2846579#*#*

and a hidden menu is shown. Go to "Background Setting" -> "Log setting" and enable the log levels.

Solution 2:

Huawei Phones disable logcat, a small improvement on the above answer

Dial:

*#*#2846579#*#*

and a hidden menu is shown. Go to "Background Setting" -> "Log setting" and enable the log levels.

Specifically enable: AP Log, Charge Log and Sleep Log.

Source: https://www.xda-developers.com/huawei-phones-disable-logcat-heres-how-to-restore-access/

Solution 3:

I had the same error while accessing keyboard and the keyboard was not showing. And turning on log didn't help. It turns out i was using google keyboard and i switched to huawei swype and it was solved.

Solution 4:

Instead of:

log.d(...);

Use

log.i(...);

As the other answers suggest, you need special permission to read debug messages.

Post a Comment for "Msecurityinputmethodservice Is Null In Logcat"