📅  最后修改于: 2022-03-11 14:52:15.937000             🧑  作者: Mango
// 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" }
}
}