Android Studio的Gradle选项之间究竟有什么区别:
Android Studio->Preferences->Gradle
Use default gradle wrapper (recommended)和Use customizable gradle wrapper?
背景:
我正在使用Android Studio中的Android项目并使用Gradle包装器.
但是,每当我的团队成员使用gui命令同步Android Studio项目时,我使用Android Studio设置"使用可自定义的gradlew包装器":

他们发现gradle/wrapper/gradle-wrapper.properties日期正在更新(并导致git repo上的额外差异).
切换到"使用默认gradle包装器"似乎可以解决此问题.
我在 android studio 中检查了 git 存储库,但遇到了错误Gradle sync failed。
当项目想要构建时,android studio 会抛出如下错误:
Run Code Online (Sandbox Code Playgroud)Gradle sync failed: Could not create parent directory for lock file C:\Users\username\.gradle\wrapper\dists \gradle-4.10.1- all\455itskqi2qtf0v2sja68alqd\gradle-4.10.1-all.zip.lck
我怎么解决这个问题?
感谢您解决这个问题,谢谢。
android gradle android-studio android-gradle-plugin android-studio-3.4