THEOplayer/react-native-connectors

Unable to build on Android

Opened this issue · 0 comments

Hello, I am using an expo manged project.
TheoPlayer was working fine after a bit of configuration, but since I installed youbora I have the following issue when I do
expo run:android


* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find any matches for com.nicepeopleatwork:theoplayer-unified-adapter:+ as no versions of com.nicepeopleatwork:theoplayer-unified-adapter are available.
     Searched in the following locations:
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/react-native-theoplayer/android/local/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/@theoplayer/react-native-analytics-youbora/android/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/react-native/android/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/jsc-android/dist/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
       - https://dl.google.com/dl/android/maven2/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
       - https://www.jitpack.io/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/com/nicepeopleatwork/theoplayer-unified-adapter/maven-metadata.xml
     Required by:
         project :app > project :theoplayer_react-native-analytics-youbora
   > Could not find com.nicepeopleatwork:configutil:0.4.7.
     Searched in the following locations:
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/react-native-theoplayer/android/local/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/@theoplayer/react-native-analytics-youbora/android/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/react-native/android/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
       - file:/Users/michelecocuccio/Desktop/THE_WAVE/PROJECTS/LBA/lba-app/node_modules/jsc-android/dist/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
       - https://dl.google.com/dl/android/maven2/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
       - https://repo.maven.apache.org/maven2/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
       - https://www.jitpack.io/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/nicepeopleatwork/configutil/0.4.7/configutil-0.4.7.pom
     Required by:
         project :app > project :theoplayer_react-native-analytics-youbora

expo is configured to use this settings on android

     "expo-build-properties",
        {
          "android": {
            "networkSecurityConfig": "@xml/network_security_config",
            "kotlinVersion": "1.9.10",
            "compileSdkVersion": 34,
            "targetSdkVersion": 34
          },
          "ios": {
            "useFrameworks": "static"
          }
        }

package.json

    "react-native": "0.72.6",
    "@theoplayer/react-native-analytics-youbora": "^1.1.1",
    "@theoplayer/react-native-ui": "^0.3.0",
    "react-native-theoplayer": "^3.2.1",

it seems like it fails in line 96 of the build.gradle properties of the library

  implementation "com.nicepeopleatwork:theoplayer-unified-adapter:$youbora_version"
  implementation "com.nicepeopleatwork:configutil:$youbora_config_version"