For reasons im still trying to figure out, sometime even if you uninstall it, it leaves files behind. Particurly in th /app/app-lib folder. Try this: Use a root browser. Go to /data/app and delete the Google keyboard apk. Its labeled: com.google.android.inputmethod.latin-1
Then go to /data/app-lib and delete the folder named: com.google.android.inputmethod.latin-1
If there are two of those folders that is definitely the problem. That folder the library for the keyboard in it. Once you have deleted one of those folders reboot recovery and flash it again. Let me know what happens.
Sent from a Shaftamle Galaxy S4
"Thanks Button" is always appreciated!
http://mycolorscreen.com/Shaftamle/