build.gradle Warming: cannot be applied to ‘(groovy.lang.Closure)’/'(java.lang.String)’

This problem indicates that there is a problem with the local package. You can change the gradle configuration and select use default gradle wrapper (recommended)

Read More: