DEV Community

Server Broad
Server Broad

Posted on

Answer: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

Watch the Tutorial https://www.youtube.com/watch?v=u92_73vfA8M

or

follow steps :

  1. Go to any browser

  2. type gradle and press enter

you can specify any version you want after the

gradle keyword

i am downloading gradle 3.3

  1. https://services.gradle.org/distributions click on this link which is in description directly if you want

  2. click on gradle 3.3…

Top comments (1)

Collapse
 
hoseincode profile image
seyed hosein alhoseiny

I did all solutions in your link in Stack but my problem still exist.
Gradle sync failed: org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.