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

前端 未结 28 1678
灰色年华
灰色年华 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:52

    I had the same problem. And deleting the project's .gradle folder didn't fix the problem.

    I solved the problem by deleting the C:\Users\\.gradle folder and made studio refresh the entire gradle build. I found I had 4 different versions of gradle installed from my upgrade path.

提交回复
热议问题