简体   繁体   English

如何修复解析依赖项...使用flutter运行时出错?

[英]How to fix Resolving dependencies… Error when using flutter run?

when I used Flutter run in my terminal in error is coming. 当我使用Flutter在我的终端中运行时出错了。 but app is working. 但应用程序正在运行。 my app is very slow. 我的应用程序很慢。

Note: C:\\src\\flutter.pub-cache\\hosted\\pub.dartlang.org\\connectivity-0.4.2\\android\\src\\main\\java\\io\\flutter\\plugins\\connectivity\\ConnectivityPlugin.java uses or overrides a deprecate d API. 注意:C:\\ src \\ flutter.pub-cache \\ hosted \\ pub.dartlang.org \\ connectivity-0.4.2 \\ android \\ src \\ main \\ java \\ io \\ flutter \\ plugins \\ connectivity \\ ConnectivityPlugin.java使用或覆盖弃用d API。 Note: Recompile with -Xlint:deprecation for details. 注意:使用-Xlint重新编译:弃用以获取详细信息。

It is a warning not an error, this is evident by the fact your code is executing when you run it. 这是一个警告而不是错误,这可以通过运行它时代码执行的事实来证明。 And it's related to the structure of your plugin and have nothing to do with your code. 它与插件的结构有关,与您的代码无关。

将此添加到Android清单的发布模式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复这些颤振依赖错误? 使用 pub get 时获取 - How to fix these flutter dependencies error? Getting it while using pub get 使用 flutter_svg package 时如何修复此 nullOk 错误? - How to fix this nullOk error when using the flutter_svg package? Flutter:尝试使用新的 firebase 依赖项运行应用程序时出错 - Flutter: error when trying to run app with new firebase dependencies 如何在我运行 flutter 项目时修复“已完成错误:Gradle 任务 assembleDebug 失败,退出代码 -1”错误 - How to fix “Finished with error: Gradle task assembleDebug failed with exit code -1” error when i run flutter project 如何修复未来<bool>使用共享首选项库时,flutter dart 中的 vs bool 错误? - How to fix the Future<bool> vs bool error in flutter dart when using the shared preferences library? 如何修复应用程序:构建 flutter 应用程序时出现 lint 错误? - How to fix app:lint error when building flutter app? 在 Flutter 中创建甜甜圈饼图时如何修复错误 - How to fix error when creating a Donut Pie Chart in Flutter 如何修复 Flutter 中的非子类型错误 - How to fix not a subtype error in Flutter 在 flutter 中添加依赖项时出错 - Error with adding dependencies in flutter 使用flutter_html_view插件时,如何在flutter中修复此错误 - How to fix this errors in flutter when using with flutter_html_view plugin
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM