【发布时间】:2022-08-17 18:48:24
【问题描述】:
仅在安装 path_provider 后出现错误
颤振酒吧添加 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
-
您是否尝试过
flutter clean && flutter pub get并再次尝试? -
已经试过了,还是一样的错误
-
您必须更好地调查或使用更多情报编辑您的问题
标签: flutter