Skip to content

[Android] Build failure: Could not find com.theoplayer.theoplayer-sdk-android:ads-wrapper:10.0.0 #742

@Hannes-Endare

Description

@Hannes-Endare

Issue Description:

When using react-native-theoplayer v10.9.0 on Android, the build fails because it cannot resolve the ads-wrapper dependency from the THEOplayer Maven repository.

It appears the React Native SDK is looking for an ads-wrapper artifact, but this artifact does not exist in the Maven repository.

Environment:

React Native Version: 0.81.4
Expo Version: 54.0.13 (Bare Workflow)
react-native-theoplayer Version: 10.9.0
Gradle Version: 8.14.3

Steps to Reproduce:

  1. Initialize a React Native project with react-native-theoplayer @ 10.9.0
  2. Configure android/build.gradle with the THEOplayer Maven releases URL.
  3. Attempt to build the Android app using npx expo run:android.

Expected Behavior:

The build should resolve all transitive dependencies for the v10 SDK.

Actual Behavior:

The build fails with the following error:

> Could not resolve all dependencies for configuration ':app:detijdBetaProdDebugRuntimeClasspath'.
   > Could not find com.theoplayer.theoplayer-sdk-android:ads-wrapper:10.0.0.
     Searched in the following locations:
       - https://maven.theoplayer.com/releases/com/theoplayer/theoplayer-sdk-android/ads-wrapper/10.0.0/ads-wrapper-10.0.0.pom

Additional Context:

I manually checked the Maven repository at https://maven.theoplayer.com/#/releases/com/theoplayer/theoplayer-sdk-android.
The ads-wrapper directory is missing.

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions