This issue is still reproducible on Flutter 3.35.0+, even though the original report (#175713) was closed. The problem described there has not been resolved — the release build continues to fail when ...
I noticed that the IntelliJ/Android Studio setup documentation in the README, as well as the linked video guide, are quite outdated — they appear to be based on very old versions of Android Studio.