Error:Timeout waiting to lock buildscript class cache for build file when change minSdkVersion

后端 未结 15 1755
不知归路
不知归路 2020-12-05 08:55

I try to change minSdkVersion in build.gradle (Module: app) in Android Studio and get next error:

Error:Timeout waitin         


        
15条回答
  •  猫巷女王i
    2020-12-05 09:49

    Sometimes it was notable to delete filehash.lock file and it will throw an error unable to delete file. So do the following steps

    For Windows machine:

    Open Task Manager(Ctrl-Alt-Delete and check Process)

    -> If you run two instance of android studio, Close One (End Task)

    -> Then close OpenJDK Platform Binary

    -> Gradle sync now on AndroidStudio and it will work now

提交回复
热议问题