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

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

    1. Go to File -> Project structure
    2. Select Project
    3. On the right panel change the Gradle Version

    I was on 5.6.4 when this problem occurred and I downgraded it to 5.1.1. Sync the project and it should work after that.

提交回复
热议问题