Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle version 1.6 is required. Current version is 1.8-20130730220035+0000

Just updated Android-Studio to version 0.2.7 an now I get the error message from the title:

error message

In the log window there is link to the grade setup:

configuration dialogue

No matter which option I use the error message stays the same.

I deleted my ~/.gradle directory and projects **/.gradle directories.

It seems that nothing helps.

Nitpick: compile on the command-line using \opt\gradle\1.6\bin\gradle.bat build works fine.

like image 976
Martin Avatar asked Sep 06 '13 13:09

Martin


People also ask

What is the minimum required version for the Gradle build tool?

The minimum version for the Gradle Build Tool which works with test distribution is 5.4. When using the Test Retry Gradle plugin together with the Gradle Enterprise Test Distribution Gradle plugin, make sure to use the minimum required version as shown below:

Which version of the plugin is compatible with Gradle enterprise?

The latest version of the plugin is guaranteed to be compatible with Gradle 5.0 onwards. Major or minor version updates to the Gradle Enterprise Gradle plugin indicate a compatibility change with Gradle Enterprise (e.g. 3.0 → 3.1 or 3.1 → 4.0). Patch number only updates (e.g. 3.0 → 3.0.1) do not affect compatibility.

What are the system requirements for the Gradle Enterprise test distribution agent?

The Gradle Enterprise Test distribution agent requires a Java 11 runtime. Some older versions of Gradle Enterprise need to be upgraded via an intermediate version.

Can I submit a build scan with an incompatible Gradle plugin version?

Submitting a build scan with an incompatible Gradle Enterprise Gradle plugin version will result in a warning message and the submission will be rejected.


1 Answers

  1. Go to Preferences > Project Settings > Gradle and choose "Use gradle wrapper" instead of the bundled option
  2. Open your gradle-wrapper.properties and change the distributionUrl to use 1.7 if it is not already (mine was 1.6), i.e. distributionUrl=http\://services.gradle.org/distributions/gradle-1.7-bin.zip
like image 176
Derek Shockey Avatar answered Nov 05 '22 23:11

Derek Shockey