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
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.