0

在调试模式下在 LS 5016 上启动 lib\main.dart... 运行 Gradle 任务“assembleDebug”...

FAILURE:构建失败并出现异常。

BUILD FAILED in 27m 34s Finished with error: Gradle task assembleDebug failed with exit code 1

4

1 回答 1

0

当我遇到时Could not resolve all artifacts for configuration ':classpath',我通常会使缓存失效,重新启动,清理和重建项目。奇怪的是,问题就这样解决了。

无论如何,如果你想添加更多的依赖项,你可以选择 File > Project Structure > Dependencies。

希望有帮助!

于 2020-04-23T10:03:23.190 回答