you can change the ndkVersion
variable in your_project/android/app/build.gradle.kts
to work around this issue:
android {
ndkVersion = "27.0.12077973"
...
}
Flutter itself suggests this correction to the code above and this solved the problem for me in several libraries...