Being a couple of days in Android development, I ran into the same problem. However, this only started after I played with the system settings of the emulator. I could have sworn I didnโt change anything in the menu of languages โโand settings. But, since I checked it, and this dialogue appeared, I am sure that it was. My emulator has a lot of latency due to the fact that my dev machine is several years behind the times (good development practice by the way.)
So, I did the following:
enable: system settings-> Dev Settings and check Show cpu use
This shows all running Android processes. You will see:
com.android.pinyin immediately before the error.
google that error and hopefully come across this post.
return to the system settings-> Language and enter and change the default value to English.
source share