Method 1
Read moreHow do I update my Android plugins?
Updating the plugin is like changing the dependency classpath mentioned in the project gradle file . For this please open Project level build. gradle file located outside all the modules. This is the Top-level build file where you can add configuration options common to all sub-projects/modules.
Read moreHow do I update my Gradle version on ionic?
Updating Gradle version for Cordova mobile apps
Read moreDo we need to install Gradle for Flutter?
Your Flutter module uses a plugin that has no additional Android Gradle dependency because it only uses Android OS APIs , such as the camera plugin.
Read more