transistorsoft / react-native-background-geolocation

Sophisticated, battery-conscious background-geolocation with motion-detection
http://shop.transistorsoft.com/pages/react-native-background-geolocation
MIT License
2.64k stars 425 forks source link

Could not find any matches for com.transistorsoft:tslocationmanager-v21:+ as no versions of com.transistorsoft:tslocationmanager-v21 are available. #2182

Open stalteri opened 16 hours ago

stalteri commented 16 hours ago

Your Environment

Expected Behavior

App build succesfully

Actual Behavior

App does not build

Steps to Reproduce

  1. install plugin
  2. try to start app

Context

App does not builds after plugin installed

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
   > Could not find any matches for com.transistorsoft:tslocationmanager-v21:+ as no versions of com.transistorsoft:tslocationmanager-v21 are available.
     Required by:
         project :app
         project :app > project :react-native-background-geolocation

build.gradle

buildscript {
    ext {
        buildToolsVersion = "34.0.0"
        minSdkVersion = 23
        compileSdkVersion = 34
        targetSdkVersion = 34
        ndkVersion = "26.1.10909125"
        kotlinVersion = "1.9.22"
        appCompatVersion    = "1.4.2"
        googlePlayServicesLocationVersion = "21.0.1"  
    }
    repositories {
        google()
        mavenCentral()

        maven { url 'https://maven.google.com' }
        maven { url "https://www.jitpack.io" }
    }
    dependencies {
        classpath("com.android.tools.build:gradle")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${project.ext.kotlinVersion}")
        classpath("com.google.gms:google-services:4.4.2")
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        mavenLocal()

        maven { url 'https://developer.huawei.com/repo/' }

        maven { url "${project(':react-native-background-geolocation').projectDir}/libs" }

        maven { url("${project(':react-native-background-fetch').projectDir}/libs") }
    }
}

apply plugin: "com.facebook.react.rootproject"
christocracy commented 15 hours ago

Plugin version: "4.17.3-rc.1"

Re-install with version 4.17.2

stalteri commented 15 hours ago

Re-install with version 4.17.2

same issue with 4.17.2

also have this warns after gradle sync in android studio:

image
christocracy commented 14 hours ago

attempt to reproduce in a freshly-generated RN "HelloWorld" app.