gradle ASCII: A problem occurred evaluating project ':app'

The way it worked for me is to change the gradle version to be compatible with the kotlin version.

In android/gradle/gradle-warpper.properties

change gradle-5.6.2-all.zip to gradle-6.1.1-all.zip

I hope this solution works for you too


The problem is with the Artifactory lib version. I use this lib org.jfrog.buildinfo:build-info-extractor-gradle and with the last version 4.9.1, I got the problem, whereas with the 4.9.0, all works fine.


I edited the android (project level) build.gradle file and changed

com.android.tools.build:gradle:3.2.1

to

com.android.tools.build:gradle:3.5.1


Just Follow these Steps in Android Studio

Click on the file in the menu bar

click on Project Structure

change Android Gradle plugin version to 3.5.1

sync again