For some unknown reason, I can\'t edit files in Android Studio. This include both java and xml files.
When I launch Android Studio (ver 1.2.2) , everything is fine.
i was facing same problem in macox. i was installed some randomly plugins which cause this error. so after removing vim editor(in my case) it works fine.