I am unable to fix this error:
dependencies cannot be applied to \'(groovy.lang.Closure)
This is my gradle file:
buildscrip
To fix the issue simply close the project, then select “Open an existing Android Studio project” on the start menu and select the folder that contains your Android project. Beware, select the folder, not the .iml project file.