Cordova project: Build failed with exception

When i try “cordova build android”
it’s write that the error is caused by two things:
the first one is:
org.gradle.internal.service.ServiceCreationException: Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().
and the second is:
Caused by: java.lang.IllegalArgumentException: Cannot find JAR ‘maven-artifact-3.0.5.jar’ required by module ‘gradle-dependency-management’ using classpath or distribution directory ‘C:\Gradle’
how can i resolve it? i would be grateful if you could give me some solutions