我正在使用flutter webrtc package
,但我想尝试创建apk,我得到下面的错误。flutter doctor
命令显示一切都是正确的。我正在使用最新的3.9版本的Flutter。我已经尝试了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.
*
1条答案
按热度按时间cwtwac6a1#
对于将来遇到这个问题的人,你应该使用GitHub作为
pubspec
文件中的源代码,而不是版本:这为我修复了错误。
参考:https://github.com/flutter-webrtc/flutter-webrtc/issues/1184