Closed HetalGohil closed 3 years ago
@HetalGohil What version of Gradle plugin (in build.gradle
root file) are you using?
I'm also getting this error as of today. My project was building just fine yesterday, but it's possible that I got a new version with pub upgrade.
edit: fixed this by using a new gradle wrapper vesion
for anyone else seeing this, go to android/app/gradle/wrapper/gradle-wrapper.properties
and find a line that looks like:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
and change 5.6.2 to 6.8.2 or whatever the newest version is, and also change the version in build.gradle
(classpath 'com.android.tools.build:gradle:4.1.0'
worked for me)
issue not specific to this plugin
when i added this plugin it is giving error below:
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'app_review'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 6s
Exception: The plugin app_review could not be built due to the issue above.