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

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

    1. Close the project (File / Close project),
    2. Select “Open an existing Android Studio project” on the start menu and select the folder that contains your Android project.

    This work for me.

提交回复
热议问题