简体   繁体   English

flutter android 无法确定任务“:app:lintVitalRelease”的依赖关系

[英]flutter android Could not determine the dependencies of task ':app:lintVitalRelease'

I am using flutter webrtc package but i want try to create apk i am getting below error.我正在使用flutter webrtc package但我想尝试创建 apk 我遇到了以下错误。 flutter doctor commands shows everything is correct. flutter doctor显示一切正常。 I am using latest 3.9 version of flutter. I already tried flutter clean many times我正在使用 flutter 的最新 3.9 版本。我已经多次尝试flutter clean

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
   > Could not find android-104.5112.03.jar (com.github.webrtc-sdk:android:104.5112.03).
     Searched in the following locations:
         https://jitpack.io/com/github/webrtc-sdk/android/104.5112.03/android-104.5112.03.jar

* 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.

*

For whoever reaches this question in the future, you should use GitHub as a source in your pubspec file instead of a version:对于将来遇到此问题的任何人,您应该在pubspec文件中使用 GitHub 作为源而不是版本:

flutter_webrtc:
  git: https://github.com/flutter-webrtc/flutter-webrtc

This fixed the error for me.这为我修复了错误。

Reference: https://github.com/flutter-webrtc/flutter-webrtc/issues/1184参考: https://github.com/flutter-webrtc/flutter-webrtc/issues/1184

暂无
暂无

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

相关问题 无法确定任务 ':app:lintVitalRelease' flutter 构建错误的依赖项 - Could not determine the dependencies of task ':app:lintVitalRelease' flutter build error 每当我运行 - Flutter 构建 apk 时,它都会给我一个错误消息“无法确定任务‘:app:lintVitalRelease’的依赖关系。” - Whenever I run - Flutter build apk it gives me an error saying "Could not determine the dependencies of task ':app:lintVitalRelease'." 无法确定 flutter 中任务 ':app:compileDebugJavaWithJavac' 的依赖关系 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' in flutter 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系。[Flutter] - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.[Flutter] 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系 - Flutter - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' - Flutter 无法确定任务 ':app:compileDebugJavaWithJavac' Flutter 的依赖关系 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' Flutter Flutter 无法确定任务 ':app:processDebugResources' 的依赖关系 - Flutter Could not determine the dependencies of task ':app:processDebugResources' Flutter - 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系 - Flutter - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' flutter run 无法确定任务':app:compileDebugJavaWithJavac'的依赖关系 - flutter run Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' Flutter 通知 OneSignal - 无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系 - Flutter Notification OneSignal - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM