Fix Android Studio Corrupted Project Workspace Settings

后端 未结 18 2839
感情败类
感情败类 2020-12-13 12:18

I had this problem for a while and was able to solve it myself.

If in opening your project in Android Studio and something similar to this error message pops up:

18条回答
  •  长情又很酷
    2020-12-13 12:36

    It probably means your project workspace settings file is corrupted by whatever reason and Android Studio could not read it. Mine is probably because of BSOD, because Windows.

    To solve the error, just delete the workspace.xml as specified in the error message. It is ok to delete it since you probably already lost all your custom workspace settings when the file got corrupted and you will never be able to save new workspace settings unless you fix the corrupted file. After deleting it, the next time you open your project in Android Studio, it will try to look for the workspace file, and if it can't find it, it will just create a new valid one.

    I hope this helps! :)

提交回复
热议问题