Error:Unexpected lock protocol found in lock file. Expected 3, found 0

前端 未结 28 1647
灰色年华
灰色年华 2020-12-01 01:18

After upgrading Android Studio to 1.3, I can\'t compile my project anymore. I am getting Unexpected lock protocol found in lock file. Expected 3, found 0.. I ha

28条回答
  •  北海茫月
    2020-12-01 01:59

    None of the above resolutions worked for my instance of this error. I had just started the project, so I really wasn't concerned about the loss of it. I completed the following:

    1. Selected "File\Close Project" and the project closed.
    2. The opening screen to create a new project came up.
    3. I deleted the project from the list just to have it not show in the list.
    4. Created a new project with a slightly different name.
    5. Ran the new project and it worked fine.

提交回复
热议问题