删除 .gradle文件夹后重新打包可以了……
hannkinnei

- 2019年12月16日
- 注册于 2019年7月17日
- 0 次助人
Ryan Wang
我在浏览器直接输那个地址是能下载的,但是输gradlew就400
没学过gradle,想打jar包。
gradle build,报错:
FAILURE: Build failed with an exception.- What went wrong:
Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal().
Unexpected lock protocol found in lock file. Expected 3, found 0.
命令行输入gradlew,报错:
Downloading https://services.gradle.org/distributions/gradle-5.2.1-all.zipException in thread "main" java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
gradle版本:gradle-5.2.1