‘dependencies’ cannot be applied to ‘(groovy.lang.Closure)’

You can go to Preferences and select “use default gradle wrapper” then rebuild the project. It worked well for me:
enter image description here

Leave a Comment