[英]flutter: error after pub add path_provider
im getting an error after only installing path_provider with仅在安装 path_provider 后出现错误
flutter pub add path_provider flutter pub 添加 path_provider
error错误
FAILURE: Build failed with an exception.
* Where:
Script '/opt/homebrew/Caskroom/flutter/3.0.2/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1156
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/opt/homebrew/Caskroom/flutter/3.0.2/flutter/bin/flutter'' finished with non-zero exit value 1
* 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 11s
Exception: Gradle task assembleDebug failed with exit code 1
Exited
With homebrew, try using any cask command.使用自制软件,尝试使用任何 cask 命令。 Try this command for example, work for me:例如,试试这个命令,为我工作:
brew tap homebrew/cask
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.