Cache It is currently in use by another Gradle instance

后端 未结 1 1197
走了就别回头了
走了就别回头了 2021-01-01 05:48

I don\'t understand why this is happening.

Gradle sync failed: Timeout waiting to lock buildscript class cache for build file \'/Users/user/Documents/androi         


        
相关标签:
1条回答
  • 2021-01-01 06:16

    The easiest way to solve this is to be delete a cache.

    For Windows it's under C:\Users\Administrator\.gradle\caches

    For Mac OSX it's ~/.gradle/caches

    Try to execute the following command:

    find ~/.gradle -type f -name "*.lock" | while read f; do rm $f; done
    
    0 讨论(0)
提交回复
热议问题