Flutter -找不到任何匹配的com.transistorsoft:tsbackgroundfetch:+,因为没有可用的com.transistorsoft:tsbackgroundfetch版本

piok6c0g  于 2023-05-29  发布在  Flutter
关注(0)|答案(1)|浏览(166)

background_fetch: ^1.1.6
我使用上面的插件每15分钟执行一个任务,即使在终止应用程序后。但是在添加了上面的库之后,我的应用程序抛出了错误

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find any matches for com.transistorsoft:tsbackgroundfetch:+ as no versions of com.transistorsoft:tsbackgroundfetch are available.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://jcenter.bintray.com/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://maven.google.com/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://storage.googleapis.com/download.flutter.io/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
       - file:/Users/rsoft/StudioProjects/salezrobot/android/app/libs/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
     Required by:
         project :app > project :background_fetch

相关问题