Linux & Mac 在终端输入
cat ~/.gradle/gradle.properties > ~/.gradle/gradle.properties.backups
rm -f ~/.gradle/gradle.properties
Windows
copy %USERPROFILE%\.gradle\gradle.properties %USERPROFILE%\.gradle\gradle.properties.backups
del %USERPROFILE%\.gradle\gradle.properties
还原
Linux & Mac
rm -f ~/.gradle/gradle.properties
cat ~/.gradle/gradle.properties.backups > ~/.gradle/gradle.properties
Windows
del %USERPROFILE%\.gradle\gradle.properties
copy %USERPROFILE%\.gradle\gradle.properties.backups %USERPROFILE%\.gradle\gradle.properties
Done
网友评论