I was trying to build a gradle project but it returned with an error:
CONFIGURE FAILED in 14s [error] [gradle-server] Could not fetch model of type 'GradleProject' using Gradle distribution 'https://services.gradle.org/distributions/gradle-7.2-bin.zip'. [error] Error getting build for c:UsersmeeeOneDriveDesktopfabric-example-mod: Could not fetch model of type 'GradleProject' using Gradle distribution 'https://services.gradle.org/distributions/gradle-7.2-bin.zip'. [info] Found 0 tasks
I’m using vscode for this
I saw some questions similar to this but they were about android studio, and I couldn’t find anything else about it. Thanks for any help.
Advertisement
Answer
the issue has been resolved on github: https://github.com/redhat-developer/vscode-java/issues/2177, apparently it’s because of onedrive