I\'m experiencing a really unusual behavior:
From today (no style, Gradle or layout changes done), every-time I click on an EditText
or TextInputE
Not only open profiler can cause ClassCastException
on same Huawei devices, but also it may cause
java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.view.inputmethod.InputConnection.finishComposingText()' on a null object reference
wish help you
I had the same issue, the full stack trace was only two lines so that I could not find more useful information.
So, I uninstalled my application from mobile, rebooted it, I also cleaned the project on Android Studio, and tried again, when I opened the activity that crashed before, it ran normally as usual. my mobile is also Huawei with Android 6.0 , I wish that can help you .
I had the same issue,my mobile is also Huawei with Android 6.0.You should set up android studio and close the android profiler in Settings.I wish that can help you .