Skip to main content
Logo
Explore APIsSupport Portal
  • Home
  1. Virtual Stadium
  2. Dependencies

Dependencies

This guide walks you through adding the Virtual Stadium Android SDK to your project. The SDK is distributed through Sportradar's Maven repository and requires both the Data SDK and UI SDK dependencies.


#Current Version

Maven Central

#Repository Configuration

The Virtual Stadium SDK is hosted in Sportradar's Maven repositories. You need to add both the Data SDK and UI SDK repositories to your project.

#SDK Dependency

Add the UI SDK dependency to your app-level build.gradle.kts. The UI SDK includes the Data SDK as a transitive dependency.

app/build.gradle.kts:

kotlin
dependencies {
    implementation("com.sportradar.virtualstadium.uisdk:ui-sdk:<version>")
}
info

Replace <version> with the latest version shown in the badge at the top of this page, or specify a specific version like 1.0.0.


#Minimum Requirements

The Virtual Stadium Android SDK has the following minimum requirements:

Expanded Table

RequirementVersion
Minimum SDKAPI 23 (Android 6.0)
Target SDKAPI 34 or higher (recommended)
Kotlin1.9.0 or higher
Jetpack Compose1.5.0 or higher (if using Compose)
Java VersionJava 8 or higher

#Gradle Configuration

Ensure your app-level build.gradle.kts meets these requirements:

app/build.gradle.kts:

kotlin
android {
    compileSdk = 34
    
    defaultConfig {
        minSdk = 24
        targetSdk = 34
        
        // ...
    }
    
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    kotlinOptions {
        jvmTarget = "1.8"
    }
    
    buildFeatures {
        compose = true  // Enable if using Jetpack Compose
    }
    
    composeOptions {
        kotlinCompilerExtensionVersion = "1.5.4"  // Match your Compose version
    }
}

Last updated 11 days ago
Is this site helpful?
Virtual Stadium, Moderation, Engagement Tools, BET
OverviewSDK Initialization
On this page
  • Current Version
  • Repository Configuration
  • SDK Dependency
  • Minimum Requirements
  • Gradle Configuration