SAVVY
SAVVY

Reputation: 850

How to install the gradle-3.0 manually

I am trying to set up the new gradel-3.0 but I am getting error like this

Error:Cause:org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection

Possible causes for this unexpected error include:

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

I tried all the method given here ,I restarted my laptop also but then also I am getting the same error .How to fix this any hint will be helpful.

Upvotes: 5

Views: 3617

Answers (1)

Lucy Fair
Lucy Fair

Reputation: 891

Upgrade your gradle build tools to:

classpath 'com.android.tools.build:gradle:2.2.0-beta1'

Upvotes: 5

Related Questions