Skip to main content
Start here. This is the first step in integrating the MoEngage Android SDK. Once you finish this page, continue with Install Using BOM.

Add Maven Repository

Add the mavenCentral() repository in your project. Where you declare it depends on your project’s repository management approach.

Projects using settings.gradle (Android Studio Flamingo and later)

Newer Android projects (created with Android Studio Flamingo or later) manage repositories in settings.gradle(.kts). Add mavenCentral() to dependencyResolutionManagement:

Projects using allprojects (older Android Studio versions)

If your project still uses the project-level build.gradle to declare repositories, add mavenCentral() there.

Enable Java 8

The SDK is target and source compatible with version 8 of the Java Programming Language. Enable Java 8 in the application build.gradle(.kts) if not done already.
For more information about samples, refer to the Android Sample.

Next Step

Continue to Install Using BOM to add the MoEngage SDK to your app.