Error updating Android Studio Gradle from 4.0.2 to 4.1.0

Viewed 267

Recently I faced problem of updating Gradle from 4.0.2 to 4.1.0 in my Android Studio. My Android Studio Version is 4.1

Here is the error occurred:


A problem occurred configuring project ':app'.

Ambiguous method overloading for method java.io.File#. Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between: [class java.lang.String, class java.lang.String] [class java.io.File, class java.lang.String]


I tried to google possible solution but mostly is just above Groovy. Does anyone face this problem when updating Gradle too?

0 Answers
Related