AI Search

Migrating to SDK 11.2.X

Direct Integration

Integration via Gradle

  1. Only applicable if you are using Gradle version 7 or earlier: Include mavenCentral in your top-level settings.gradle.kts file:

    settings.gradle.kts

    allprojects {
        repositories {
            mavenCentral()
        }
    }
    

    If you're using a Gradle version higher than 7, skip Step 1 and proceed to Step 2.

  2. Add the following line to the dependencies element in your application module’s build.gradle.

    build.gradle

    dependencies  {
        implementation 'com.inmobi.monetization:inmobi-ads-kotlin:11.2.0'
    }
    

Manual Integration

Alternatively, you can download the latest version of InMobi’s Kotlin SDK and copy the library to your application module’s libs/directory.

  1. Please add the following dependencies to your modules ‘build.gradle’ for integrating inmobi-ads-kotlin in addition to the dependencies mentioned in the support portal.

    implementation 'androidx.core:core-ktx:1.5.0' 
     implementation 'com.inmobi.omsdk:inmobi-omsdk:1.5.7.0'
    
  2. Follow the next steps from Add & Verify Dependencies.

On This Page

Last Updated on: 31 Mar, 2026