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
Unexpected lock protocol found in lock file. Expected 3, found 0.
In my case, GRADLE_USER_HOME was not set due to a machine change. After re-setting this env variable, everything works fine again.