> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-sdk-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Android SDK Installation

# Adding Dependency

To add MoEngage's Android SDK to your application, \<project-path>/platforms/android/app` and create...` a file with the name **build-extras.gradle**. If you already have this file in your project, you need not create another one.

<img src="https://mintcdn.com/moengage-sdk-docs/Q_uLBG3nKcnlwkbc/images/AndriodSDKInstallation1-1.png?fit=max&auto=format&n=Q_uLBG3nKcnlwkbc&q=85&s=7f79649490734cba3b3ef138187a121c" alt="Andriod SDK Installation1 1" style={{ width:"54%" }} width="512" height="1762" data-path="images/AndriodSDKInstallation1-1.png" />

## Option 1: Using BOM (Recommended)

![](https://img.shields.io/maven-central/v/com.moengage/android-bom)

Use the Bill of Materials (BOM) to automatically manage compatible versions of the SDK modules.

<CodeGroup>
  ```auto build.gradle theme={"theme":{"light":"github-light","dark":"github-dark"}}
  dependencies {
      ...
      // Import the MoEngage BOM
      implementation(platform("com.moengage:android-bom:BOM_VERSION"))
      
      // Add optional modules as needed
       implementation("com.moengage:inapp")
  }
  ```
</CodeGroup>

Replace \*\*\<bomVersion>`** with the latest BOM version.`. For more info on integration using BOM, refer [here](/developer-guide/android-sdk/sdk-integration/basic-integration/Install-Using-BOM).

## Option 2: Manual Integration

Once the file is created, add the MoEngage SDK dependency to it.

<CodeGroup>
  ```auto Groovy theme={"theme":{"light":"github-light","dark":"github-dark"}}
  // adding the repositories block is optional. You can choose not to add this block if you have already added these repositories to your project.
  repositories {
    google()
    mavenCentral()
  }

  dependencies {
    implementation("androidx.core:core:1.6.0")
    implementation("androidx.appcompat:appcompat:1.3.1")
    implementation("androidx.lifecycle:lifecycle-process:2.7.0")
    implementation("com.moengage:moe-android-sdk:13.02.00")
  }
  ```
</CodeGroup>

Replace **\$sdkVersion** with the appropriate SDK version

<Info>
  You can add the firebase messaging dependency also to this file itself if your file does not already have firebase messaging added.
</Info>
