Fix Android Studio Corrupted Project Workspace Settings

后端 未结 18 2727
感情败类
感情败类 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:26

    Just delete .idea folder from project directory an re run android studio. it worked for me.

    0 讨论(0)
  • 2020-12-13 12:26

    I am using Android Studio 4.0 I solved this by:

    1. Deleting .idea folder in the Project

    2. Restart Android Studio

    Done :)

    0 讨论(0)
  • 2020-12-13 12:28

    A gradle sync did the trick for me.

    Just press the button from the toolbar named "sync project with gradle files". The icon is an elephant with a little blue arrow.

    If it still does not work, try deleting the .idea folder first, before syncing the gradle files again.

    0 讨论(0)
  • 2020-12-13 12:33

    Had Today the same Problem, but i found a "workspace.xml" with something like "jpt_tmp" at his end, in the same directory. After swaping the "tmp" once with the original, i got everything back to work.

    0 讨论(0)
  • 2020-12-13 12:34

    I tried many options but finally for windows 10, File > Invalidate Caches/Restart worked for me.

    0 讨论(0)
  • 2020-12-13 12:35

    Step 1 :Exit Android Studio.

    Step 2 :Delete workspace.xml file found in the \ProjectName\.idea\ directory.

    Step 3 :Run Android Studio again.

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