Android specific implementation for record package called by record_platform_interface.
You can either choose to stay with v7 version or upgrade to v8.
Here's the setup for v7 latest version:
In android/settings.gradle, apply:
plugins {
id "com.android.application" version "7.4.2" apply false
...
}