Could not create parent directory for lock file

前端 未结 6 1484
执念已碎
执念已碎 2021-01-15 12:58

Error: Failed to complete Gradle execution.

Cause:

Could not create parent directory for lock file C:\\Program Files\\Android\\Android Stu

6条回答
  •  南笙
    南笙 (楼主)
    2021-01-15 14:01

    I am new to android studio in Mac. This error causing by the folder .gradle is not granted the appropriated right to start working. So open the "get info" and give it all the "Read & write", don't forget to choose "Apply to enclosed items". Hope it help someone !

    Remember to active "Apply to enclosed items"

提交回复
热议问题