People are currently reading this guide.
In order to use the android Flutter package accept the Apache 2.0 license. In the build.gradle file add
android
licenses
acceptApache2License
android
licenses
acceptApache2License