Can't Edit Files in Android Studio

后端 未结 19 1744
野性不改
野性不改 2020-12-14 00:53

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.

相关标签:
19条回答
  • 2020-12-14 01:17

    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.

    0 讨论(0)
  • 2020-12-14 01:19

    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.

    0 讨论(0)
  • 2020-12-14 01:21

    The only solution that worked with me:

    1. Close Android Studio.
    2. Save .idea folder for future restore (if something happened).
    3. Remove .idea folder (or just rename it).
    4. Start Android Studio and open project.
    0 讨论(0)
  • 2020-12-14 01:22

    tl;dr, open the search with cmd + shift + f and close it again. All should be good.


    I was also having the problem of suddenly losing the ability to type in the editor on my mac. There was never any rhyme or reason. I tried the suggestions here and sadly they didn't work.

    What worked for me is opening the search box with cmd + shift + f (on mac). Once that opened and I closed it, I could type again. I also noticed the things I had been trying to type were in the search bar.

    0 讨论(0)
  • 2020-12-14 01:22

    1- Close Android Studio.

    2 - Remove .idea folder from your project

    3 - Start Android Studio and open project.

    0 讨论(0)
  • 2020-12-14 01:23

    I had this problem as well, but it was because my focus was in an EditText view in the emulator. I could not get it to work by clicking the right scroll bar. It was only when I noticed the cursor n the emulator, and hit tab, did my editor work again.

    0 讨论(0)
提交回复
热议问题