flutter flutter_logs拉不到的问题

发布于:2024-05-10 ⋅ 阅读:(21) ⋅ 点赞:(0)
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.github.umair13adil:RxLogs:1.0.18.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/umair13adil/RxLogs/1.0.18/RxLogs-1.0.18.pom
       - https://repo.maven.apache.org/maven2/com/github/umair13adil/RxLogs/1.0.18/RxLogs-1.0.18.pom
       - file:/Users/runner/hostedtoolcache/flutter/stable-3.13.2-x64/.pub-cache/hosted/pub.dev/background_fetch-1.2.0/android/libs/com/github/umair13adil/RxLogs/1.0.18/RxLogs-1.0.18.pom
       - https://storage.googleapis.com/download.flutter.io/com/github/umair13adil/RxLogs/1.0.18/RxLogs-1.0.18.pom
       - file:/Users/runner/work/peercoin_flutter/peercoin_flutter/android/app/libs/com/github/umair13adil/RxLogs/1.0.18/RxLogs-1.0.18.pom
       - https://jitpack.io/com/github/umair13adil/RxLogs/1.0.18/RxLogs-1.0.18.pom
     Required by:
         project :app > project :flutter_logs

* 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.开代理
2.在iOS目录下修改依赖又可以了

implementation "com.github.umair13adil:RxLogs:1.0.20"

参考