Getting Started - Android

Add AdPlayer SDK to your project

  1. To connect to our Maven repository, add the following to your main project build.gradle under the allprojects tag OR in your settings.gradle file under the dependencyResolutionManagement tag:

// .gradle repositories { maven("https://us-central1-maven.pkg.dev/mobile-sdk-fd2e4/adservr-maven") }
// .gradle.kts repositories { maven("https://us-central1-maven.pkg.dev/mobile-sdk-fd2e4/adservr-maven") }

2. To download the latest SDK, add the following to your application build.gradle file:

dependencies { implementation("com.adservrs:adplayer:1.+") }

2.1. In case your technical stack is incompatible with ours, please try to use this version for compatibility:

3. Sync your project.

If you are using ProGuard, please contact our development team for the required rules!

Â