Integrate

0. Latest ADX Android SDK

circle-check

1. Requirements

circle-info
  • minSdkVersion 23 or later

  • compileSdkVersion 35 or later

2. Integrating the ADX Android SDK

circle-info

The following content may change with future updates to the ADX Android SDK.

1) Add the following repository to the allprojects section of your project-level build.gradle file.

allprojects {
    repositories {
        // ... other project repositories
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
}

2) Add the following dependency to the dependencies section of your module-level build.gradle file.

3. Project Setting

  • To support Java 8 language features, add compileOptions to the android section of your module-level build.gradle file.

4. Setting up the AdMob App ID

  • If you’re not integrating AdMob, you can skip this section.

  • Add "com.google.android.gms.ads.APPLICATION_ID" and your issued AdMob App ID to a <meta-data> tag in your AndroidManifest.xml file.

triangle-exclamation

Last updated

Was this helpful?