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 project. i was change the time of my computer which cause this error. so after invalidate caches and restart studio , it works fine.