Integrate
0. Latest ADX Android SDK
Version 2.8.1
Release Date : 2025/11/27
1. Requirements
2. Integrating 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
compileOptionsto theandroidsection of your module-levelbuild.gradlefile.
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 yourAndroidManifest.xmlfile.
If you don’t add the <meta-data> tag, your app will crash with the following error:
The Google Mobile Ads SDK was initialized incorrectly.
Last updated
Was this helpful?