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 also having this problem and had tried to delete the configuration files and reinstall the Android Studio, but the problems were still there. Then I found out that if I uncheck the "vim emulator" under tool, the problem goes away!