問題來源:
之前修改了IDEA的默認配置文件路徑,然后升級新版本時就無法升級,提示"Failed to prepare an update Temp directory inside installation:..."。
解決方法:
1、定位到"~\IntelliJ IDEA\bin\idea.properties"文件,注釋掉修改配置文件路徑的兩行"idea.config.path"、"idea.system.path"。
2、重新打開IDEA,不導入配置,以試用方式運行。
3、手動檢查更新,安裝更新。
4、更新完成后恢復"idea.properties"文件配置。重新打開IDEA。
過程中忘了截圖,就不補圖了。