> For the complete documentation index, see [llms.txt](https://docs.helix.voodoo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helix.voodoo.io/monetization/integrate-the-sdk/applovin-max-adapter/android-max-adapter.md).

# Android

This guide covers integrating Helix with AppLovin MAX on **Android** using Gradle.

{% hint style="info" %}

* **Minimum supported Android version:** Android 7.0 (API level 24)
* **Latest adapter version:** 4.29.3.1
* **Latest Helix SDK version:** 4.29.3
  {% endhint %}

{% hint style="info" %}
**Before you start:** complete the mediation setup first — enable Helix on your MAX ad unit in the AppLovin dashboard. See [AppLovin MAX Integration](/monetization/configure-mediations/applovin-max-integration.md).
{% endhint %}

***

## Add custom Maven repository

Add the Helix Maven repository to your Gradle configuration.

Use **one** of the following options, depending on where your project declares repositories.

{% tabs %}
{% tab title="Groovy DSL (`build.gradle`)" %}

```groovy
allprojects { 
	repositories { 
		google() 
		mavenCentral()
		maven { 
			url "https://framework.voodoo-adn.com/android/release/apps" 
		} 
	} 
}
```

{% endtab %}

{% tab title="Kotlin DSL (`settings.gradle.kts`)" %}

```kotlin
dependencyResolutionManagement { 
	repositories { 
		google() 
		mavenCentral() 
		maven { 
			url = uri("https://framework.voodoo-adn.com/android/release/apps") 
		} 
	} 
}
```

{% endtab %}
{% endtabs %}

## Add dependency

Add the Helix AppLovin adapter dependency to your **app module** (or ads module if applicable).

```groovy
dependencies { 
	// AppLovin adapter provided by Helix
	implementation "io.adn:adn-applovin-adapter:4.29.3.1"
}
```

## Sync and build

After updating Gradle configuration:

* Sync the project.
* Build the app.
* Confirm that:
  * Dependencies are resolved successfully.
  * No Gradle or dependency resolution errors occur.
  * The Helix AppLovin adapter and the Helix SDK (pulled in transitively) are included in the final APK or AAB.

## Troubleshooting tips

If dependency resolution fails:

* Confirm the repository is added at the correct level
* Ensure <mark style="color:red;">`mavenCentral()`</mark> is present
* Perform a clean sync, then rebuild
* If the build fails with "Build was configured to prefer settings repositories over project repositories", your project uses <mark style="color:red;">`FAIL_ON_PROJECT_REPOS`</mark>, the default for projects created by recent versions of Android Studio. Declare the repository in your settings file instead of <mark style="color:red;">`build.gradle`</mark>.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.helix.voodoo.io/monetization/integrate-the-sdk/applovin-max-adapter/android-max-adapter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
