After update android studio could not create parent directory for lock file

前端 未结 7 1906
刺人心
刺人心 2020-11-30 13:11

Updated android studio and plugins when sync, fails with could not create parent directory for lock file

wrapper properties:

#Sun Mar 05 16:51:59 PKT         


        
7条回答
  •  臣服心动
    2020-11-30 13:38

    I had the same problem when I upgraded Android Studio to 3.0.1. All projects had this error message. (Windows 10 Pro 64 bit)

    I tried reinstalling Android Studio and Gradle manually, poiting to use another gradle version with no effect.

    As a last resort what worked for me was a clean reinstall.

    • Uninstall android studio

    • Delete gradle from Path in "Environment variables" and GRADLE_USER_HOME

    • Delete .AndroidStudio, .android, .gradle folders from Users

    • Delete AndroidSdk

    • Reboot PC

    • Reinstall Android Studio and sdk

    Programs compiled with no problems after that.

提交回复
热议问题