Android Studio I keep getting Gradle error “The process cannot access the file because it is being used by another process”

后端 未结 11 1577
伪装坚强ぢ
伪装坚强ぢ 2020-12-16 10:12

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 sampl

11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 10:29

    I had the same problem and in my case it is due to multiple Java Run times (JRE's). Try switching between JRE's in android studio or use only one Java runtime.

    Hope it fix the problem. Happy Coding..

    enter image description here

提交回复
热议问题