2

Android Studio 2.2 Preview 1 brought back this error. :/

'dependencies' cannot be applied to '(groovy.lang.Closure)'
This inspection reports assignments with incompatible types
Lines 44-45 changed

Has anyone run into the same problem?

enter image description here



Update - 05/29/2016

The bug has been fixed in Android Studio 2.2 Preview 2

jordansilva
  • 182
  • 1
  • 1
  • 13

1 Answers1

0

The only fix that I found for this is, every time I open a project, I go to Settings>Build, Execution, Deployment>Gradle, change to "use local gradle distribution", click apply then click "use default gradle wrapper" and ok.

Ioannis I
  • 298
  • 3
  • 15
  • I've done it before and is already as default, and didn't work. Apparently in Android Studio 2.2 Preview 2 was back to normal. – jordansilva May 30 '16 at 00:53