I am working on an app. In my app there is no error in code but when I try to run my project it gives following errors.
Error:(1, 1) A problem occurred e
I had the same issue and this is what I did and I was able to solve my issue:
Gradle file was updated from classpath 'com.android.tools.build:gradle:3.6.1' to
classpath 'com.android.tools.build:gradle:3.1.3'
Then distribution URL in gradle-wrapper.properties file was updated from distributionUrl=https://services.gradle.org/distributions/gradle-5.6.4-all.zip to
distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip
Gradle was then synched.