Ich habe vor kurzem die Gradle-Version meines Projekts von 2.14.1 auf 3.0 aktualisiert. Seitdem die gradle Build jedes Mal mit diesem Fehler Fehler:Gradle Build fehlgeschlagen nach Update auf 3.0
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.
- 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.
habe ich google gesucht und gefunden einige Lösungen wie this man aber nichts funktioniert. Weiß jemand, wie man es repariert?
Welche Version des Plugins verwenden Sie? –
im Einsatz 2.1.3. –
Das neueste stabile Gradle-Plugin (** 2.1.3 **) funktioniert mit [Gradle 2.14.1 oder höher] [1], unterstützt aber nicht die Gradle 3.x. [1]: https://developer.android.com/studio/releases/gradle-plugin.html –