'dependencies' cannot be applied to '(groovy.lang.Closure)'

前端 未结 15 2801
旧巷少年郎
旧巷少年郎 2020-11-30 01:28

I am unable to fix this error:

dependencies cannot be applied to \'(groovy.lang.Closure)

This is my gradle file:

buildscrip         


        
15条回答
  •  悲&欢浪女
    2020-11-30 01:58

    You can go to Preferences and select "use default gradle wrapper" then rebuild the project. It worked well for me:

提交回复
热议问题