Intellij IDEA crashed, and now throws an error

后端 未结 10 1926
你的背包
你的背包 2020-12-12 18:08

I work in Intellij IDEA, but my computer freezes so I turn off my computer. (long click power button) When I turned on computer and start IntelliJ IDEA I had this error:

10条回答
  •  没有蜡笔的小新
    2020-12-12 18:36

    This answer works for both IntelliJ & AndroidStudio

    If you cannot even open your project in IntelliJ[AndroidStudio]:

    • Close IntelliJ[AndroidStudio]
    • Go to the directory /.IntelliJIdeaXX[.AndroidStudioXX]/system/cache

      WHERE

      • is

        • Windows Users: C:\Users\<**Your User**>\ (or %USERPROFILE%)
        • Linux Users(Ubuntu), Mac: ~/
      • XX is your IntelliJ version (This directory is "caches" in some versions.)

    • Remove all the files in the cache directory.
    • Then restart IntelliJ[AndroidStudio]

    This has worked for me in the past.

提交回复
热议问题