【发布时间】:2025-11-24 03:15:02
【问题描述】:
所以我最近切换到flutter beta频道flutter 1.26.0 - 17.6.pre,我已经做了一个可以正常运行的web项目,所以最近我尝试做一个移动应用程序项目,它是第一次和之后构建的我一直从 gradle 得到这个错误日志。
[+155045 ms] FAILURE: Build failed with an exception.
[ +55 ms] * What went wrong:
[ ] org/apache/http/pool/AbstractConnPool
[ ] * 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
[ +63 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ ] Use '--warning-mode all' to show the individual deprecation warnings.
[ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ ] BUILD FAILED in 2m 29s
[+3846 ms] Running Gradle task 'assembleDebug'... (completed in 158.9s)
[ +204 ms] Exception: Gradle task assembleDebug failed with exit code 1
【问题讨论】:
-
还是有这个问题
-
"使用 '--warning-mode all' 显示个别弃用警告。"在您提供与您的问题相关的更多信息后,也许我们可以为您提供帮助。
-
分享您的
build.gradle文件。更好的是,在 Android Studio 中打开它,让 linter 显示你的错误。这个问题需要更多的调试细节。