Android Studio I keep getting Gradle error “The process cannot access the file because it is being used by another process”
问题 I can import a sample app project, try to build it and I keep getting this error. Not always the same file but a new temp file each time. I've tried several different samples. I've been programming for 30+ years and feel completely clueless. Only clue seems to be the Windows Task Manager shows 99% to 100% CPU usage when it gives the error and ends the build. 回答1: Do This File -> Invalidate Caches / Restart.. -> Invalidate/ Restart 回答2: Just clean the project and have a run ! It would work ...