I need help with building an Android APK file with Flutter. I keep getting this error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'video_player'.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
Yeah, I found the problem.
It was in the build.gradle file of the video-player plugin. I changed the minimum version of the SDK from compileSdkVersion 27 to compileSdkVersion 28 and the problem was solved.