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

前端 未结 15 2804
旧巷少年郎
旧巷少年郎 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 02:17

    I solved the problem in Android Studio by Invalidating the cache and restart.

    File-> Invalidate Caches / Restart..

提交回复
热议问题