Flutter Gradle错误:评估项目':app'时发生问题

时间:2020-05-07 17:37:26

标签: visual-studio flutter gradle

我正在尝试运行从Visual Studio Code中的GitHub克隆的Flutter应用程序,但是当我使用“ flutter run”时,会发生以下情况:

Launching lib\main.dart on Pixel 2 XL in debug mode...

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\eyram\*myapp*\*myapp*\android\app\build.gradle' line: 58

* What went wrong:
A problem occurred evaluating project ':app'.
> path may not be null or empty string. path='null'

* 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 2s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         2.8s
Exception: Gradle task assembleDebug failed with exit code 1

我不知道如何解决这个问题。

0 个答案:

没有答案