A problem occurred evaluating project ':rate_my_app'.
rajaarav0 opened this issue · comments
FAILURE: Build failed with an exception.
-
Where:
Build file '/Users/shoony/.pub-cache/hosted/pub.dev/rate_my_app-2.0.0/android/build.gradle' line: 27 -
What went wrong:
A problem occurred evaluating project ':rate_my_app'.
No signature of method: build_ezlv1yh19f1jyx9bxv8z2nkl1.android() is applicable for argument types: (build_ezlv1yh19f1jyx9bxv8z2nkl1$_run_closure2) values: [build_ezlv1yh19f1jyx9bxv8z2nkl1$_run_closure2@3f458003]
-
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 5s
Exception: Gradle task assembleDebug failed with exit code 1
Try to flutter clean
your project before building it.
Try to
flutter clean
your project before building it.
Before submitting the issue, I tried nearly everything. On iOS, it functions flawlessly, but when operating on an actual Android smartphone, this problem arises.
Are you using AGP 8 ?
Are you using AGP 8 ?
graddle-wrapper.properties is distributionUrl=https://services.gradle.org/distributions/gradle-6.7-all.zip
and
build/gradle is classpath 'com.android.tools.build:gradle:4.1.0'
This the problem (see the changelog) ! Either migrate to AGP 8 or downgrade RateMyApp.