[英]Flutter - pub get error, when getting versions of path_provider
[英]flutter: error after pub add path_provider
僅在安裝 path_provider 后出現錯誤
flutter pub 添加 path_provider
錯誤
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
使用自制軟件,嘗試使用任何 cask 命令。 例如,試試這個命令,為我工作:
brew tap homebrew/cask
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.