Closed Noraiz322 closed 1 year ago
Which version of the plugin are you using ? If it's the latest (2.0.0), make sure you're using Android Gradle Plugin v8 at least. In your build.gradle
:
buildscript {
// ...
dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
// ...
}
}
Also don't forget to add a namespace in the android
section of app/build.gradle
:
android {
// ...
namespace 'your.namespace'
}
I am using 'rate_my_app: ^1.1.3' and buildscript { // ...
dependencies { classpath 'com.android.tools.build:gradle:4.1.0' // ... } }
When I added the namespace for my project as you mentioned in app/build.gradle. Error is changed now and didn't get success yet. Here is the error:
No signature of method: build_8hfcje9qzf6viw7vmnpeozlc2.android() is applicable for argument types: (build_8hfcje9qzf6viw7vmnpeozlc2$_run_closure2) values: [build_8hfcje9qzf6viw7vmnpeozlc2$_run_closure2@32e5480c]
Well, if you're using 1.1.3, this doesn't apply to you. If you encountered this problem after upgrading other libraries, make sure to flutter clean
before running.
I got it resolved by cache clearing and removing/adding library. Thanks for prompt reply. Really appreciable.
Cool then :wink:
I was using this library since long time ago and it was working fine. I updated some of firebase libraries yesterday and after some time it started giving me following error regarding rate_my_app library. I could not understand what is the connection between these libraries. while commenting this library everything works fine at my end. Can you help me to resolve the following issue.