📜  找不到 com.transistorsoft:tsbackgroundfetch:+ 的任何匹配项,因为没有可用的 com.transistorsoft:tsbackgroundfetch 版本. - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:15.937000             🧑  作者: Mango

代码示例1
// Add to build.gradle (android)

allprojects {
    repositories {
        ....
        maven { url "$rootDir/../node_modules/@transistorsoft/capacitor-background-fetch/android/libs" }
        // If you also have the same problem with capacitor-background-geolocation
          maven { url "$rootDir/../node_modules/@transistorsoft/capacitor-background-geolocation/android/libs" }
    }
}