> For the complete documentation index, see [llms.txt](https://platform-business.gitbook.io/adx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform-business.gitbook.io/adx/en/android/integrate.md). Agents can also search and read this documentation through its [MCP server](https://platform-business.gitbook.io/adx/~gitbook/mcp).

# Integrate

## 0. Latest ADX Android SDK

{% hint style="success" %}
Version 2.9.2

Release Date : 2026/10/21
{% endhint %}

## 1. Requirements

{% hint style="info" %}

* minSdkVersion **24** or later
* compileSdkVersion 35 or later
  {% endhint %}

## 2. Integrating the ADX Android SDK

{% hint style="info" %}
The following content may change with future updates to the ADX Android SDK.
{% endhint %}

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

```typescript
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.

```typescript
dependencies {
    // Include the Entire Library
    implementation 'com.github.adxcorp.ADXLibrary_Android:adx-library:2.9.2'

    // Include Only Native Ads
    implementation 'com.github.adxcorp.ADXLibrary_Android:adx-library-native:2.9.2'

    // Include Only Interstitial and Banner Ads
    implementation 'com.github.adxcorp.ADXLibrary_Android:adx-library-standard:2.9.2'

    // Include Only Rewarded Video Ads
    implementation 'com.github.adxcorp.ADXLibrary_Android:adx-library-rewarded-video:2.9.2'

    // Example: Include Interstitial, Banner, and Native Ads
    implementation 'com.github.adxcorp.ADXLibrary_Android:adx-library-standard:2.9.2'
    implementation 'com.github.adxcorp.ADXLibrary_Android:adx-library-native:2.9.2'

    // Use Google Play Services Ads version 25.4.0
    implementation 'com.google.android.gms:play-services-ads:25.4.0'
}
```

## 3. Project Setting

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

```typescript
android {
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}
```

## 4. Setting up the AdMob App ID

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

{% hint style="danger" %}
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.`
{% endhint %}

```typescript
    <application>
        <meta-data
            android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="YOUR_ADMOB_APP_ID"/>
    </application>
</manifest>
```
