从github上导入flutter项目出现下面错误

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\androidyingyong\flutter_hrlweibo\android\build.gradle' line: 39

* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
   > Failed to notify project evaluation listener.
      > org.gradle.api.file.ProjectLayout.directoryProperty(Lorg/gradle/api/provider/Provider;)Lorg/gradle/api/file/DirectoryProperty;

* 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 1m 59s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                       126.5s (!)
Exception: Gradle task assembleDebug failed with exit code 1
 

不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 以帮助更多的人 ^-^