配置根项目“ video_player”时出现问题

我需要有关使用Flutter构建Android Apk的帮助不断出现此错误

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'video_player'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s