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

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

    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.

提交回复
热议问题