错误:
Cannot load settings from file 'C:\Users\user\.IdeaIC13\config\options\code.style.schemes.xml': java.lang.AssertionError: Unexpected content storage modification File content will be recreated
解决方法:
找到Intellij缓存文件的路径,打开cache文件夹删除所有内容,再重启Intellij软件即可。
This answer works for both IntelliJ & AndroidStudio
If you cannot even open your project in IntelliJ[AndroidStudio]:
- Close IntelliJ[AndroidStudio]
-
Go to the directory <your_home>/.IntelliJIdeaXX[.AndroidStudioXX]/system/cache
WHERE
-
<your_home> is
- Windows Users:
C:\Users\<**Your User**>\
(or%USERPROFILE%
) - Linux Users(Ubuntu), Mac:
~/
- Windows Users:
-
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.