Upgrade Instructions

Upgrade from 5.0+ to 5.1.2

If you are upgrading from your current HyprMX 5.0+ integration to the HyprMX 5.1.2 SDK, follow the instructions below.

1. Replace the hyprmx maven url in the top level build.gradle file with the following:

allprojects {
repositories {
maven { url "https://hyprmx.jfrog.io/artifactory/hyprmx" }

2. Update HyprMX dependency in the app's build.gradle file:

dependencies {
implementation 'com.hyprmx.android:HyprMX-SDK:5.1.2'

3. If you are using Kotlin in your application, add the following to your build.gradle inside the android block:

kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = [

4. Optional: Implement the new PlacementListener.onAdExpired() method

public void onAdExpired(Placement placement) {
// Called when an ad is no longer available for the given placement.

That's it! You're up and running with the latest version of the HyprMX SDK.


By integrating the HyprMX SDK, you are agreeing to the End User License Agreement.