---
title: Android Studio
slug: mobile-sdks/android-studio
docTags: 
createdAt: 2025-12-14T14:20:34.391Z
---

# Update your Gradle Dependencies (Required)

## Gradle version 7.0 and above

In your **root-level (project-level)** Gradle settings file (`<project>/settings.gradle`), add the following repository to your `dependencyResolutionManagement` block:

```java
dependencyResolutionManagement {
    repositories {
        // Other repositories...
        maven {
            url "https://mobile-sdks.forter.com/android"
            credentials {
                username "forter-android-sdk"
                password "HvYumAfjVQYQFyoGsmNAefGdR84Esqig"
            }
        }
    }
}
```

### Earlier gradle versions

In your **module (app-level)** Gradle file (usually `<project>/<app-module>/build.gradle.kts` or `<project>/<app-module>/build.gradle`), add the following repository to your `repositories` block:

```java
repositories {
   // Other repositories...
   maven {
      url "https://mobile-sdks.forter.com/android"
      credentials {
         username "forter-android-sdk"
         password "HvYumAfjVQYQFyoGsmNAefGdR84Esqig"
      }
   }
}
```

:::hint{type="info"}
These credentials should be included in your version control (i.e. Git) since they are non-sensitive and used primarily to restrict bot and search engine access to the repository.
:::

## Add the ForterSDK as a dependency

In your **module (app-level)** Gradle file (usually `<project>/<app-module>/build.gradle.kts` or `<project>/<app-module>/build.gradle`), add the following dependency:

```text
implementation 'com.forter.mobile:fortersdk:3.0.20'
```
