skip to Main Content

When I build gradle in Android Studio, this error appears , An error also appears in the build.gradle

erorr text

erorr in build.gradle file

I restarted and the problem is not fixed ,And I didn’t find solutions to a problem like this

2

Answers


  1. You might try this command:

    ./gradlew assemble -stacktrace
    

    You might have 2 versions of Groovy on your classpath.
    Take a look at it, correct your dependencies, if this is the problem, and try again.

    Login or Signup to reply.
  2. try
    flutter clean
    run flutter doc to check for an issue
    and re run

    else you might need to update your dependencies

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search