Closed deeps2 closed 3 years ago
Well, I couldn't find a solution to this particular issue after struggling for days. It seems to me that other users are not facing this exact issue as some users have open new issues(which is related to something else) after the creation of this issue in Apr2020.
So, today I just thought of deleting the whole repo and downloading it again. Surprisingly, it worked this time 👍 . I tried clean build, invalidate cache and restart earlier but that didn't work.
Closing this issue.
ISSUE: Build is failing on latest Android Studio
Changes did
project/build.gradle
:classpath 'com.android.tools.build:gradle:3.6.2'
(instead of 3.0.1)app/build.gradle
: addedbuildToolsVersion '27.0.3'
quality.gradle
: changeddestination("path")
todestination file("path")
gradle-wrapper.properties
:distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
Tried Clean build, Invalidate cache and restart but not working.
Similar Answers on Google/StackOverflow suggest downgrading the gradle version in distributionUrl to lower version but can't do it as minimum supported gradle version for latest android studio is 5.6.4
Error Message