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

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

    None of the solutions here worked for me. For anyone who might run into my situation, here's what worked for me:

    In addition to the steps here, I also

    1. Deleted ~/.gradle/daemon/[GRADLE_VERSION]
    2. Deleted ~/.gradle/wrapper/dists/gradle-[GRADLE_VERSION]-all
    3. Deleted [PROJECT_PATH]/.gradle

    Restarted Android Studio

提交回复
热议问题