![](/img/trans.png)
[英]Flutter: I'm working in a flutter application which i clone it from git hub, the build is failed when i trying to run it
[英]Flutter : when i try to run flutter app that i clone from github, but the build failed, could someone inform me how to solve it?
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
error: warnings found and -Werror specified
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':connectivity:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
該錯誤消息意味着,您的 java 代碼有警告。 並且由於-Werror
標志,它變成了一個錯誤。
警告說,您的 java 目標版本太舊。
因此,您可以升級該版本。 或者,刪除-Werror
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.