# Installation

The Android-FaceSDK is provided in **Android Library Project (AAR)** format.

## Download SDK

[**libfacesdk\_core.zip \[33M\]**](https://www.dropbox.com/scl/fi/0i32jxjkytvbrhe1wtnfg/libfacesdk_core.zip?rlkey=0ekuommd5haibmr3wy0b08lpg\&st=sion58rk\&dl=0)

[**libfacesdk\_pro.zip \[46M\]**](https://www.dropbox.com/scl/fi/ps7gq0v9tqmtv5h5taxgv/libfacesdk_pro.zip?rlkey=s1eqy65ljr6bq6k5ix43wkhv6\&st=or3f7yb1\&dl=0)

## Directory Structure

The SDK directory contains the following directories and files:

<table data-header-hidden><thead><tr><th width="152"></th><th></th></tr></thead><tbody><tr><td>build.gradle</td><td>Gradle build file</td></tr><tr><td>facesdk.aar</td><td>FaceSDK AAR file</td></tr></tbody></table>

## Add FaceSDK to Android Project <a href="#adding-the-android-sdk" id="adding-the-android-sdk"></a>

* Add the SDK folder to your Android project's root directory.
* Open the `build.gradle` file corresponding to the new, or existing Android Studio project that you want to integrate. Typically, this is the `build.gradle` file for the `app` module.
* Add the SDK to the `dependencies` section in your `build.gradle` file:

{% code overflow="wrap" %}

```gradle
dependencies {
    implementation project(path: ':libfacesdk')
}
```

{% endcode %}

* Include the SDK in your `settings.gradle` file:

{% code overflow="wrap" %}

```gradle
rootProject.name = "YourProjectName"
include ':app'
include ':libfacesdk'
```

{% endcode %}

* Build your project

<figure><img src="https://3902005046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxiEW2bRNeDz3JZIL41gD%2Fuploads%2FlaSpvx2JLhlUq5zYmUS8%2Fproject.png?alt=media&#x26;token=4e618581-ddfb-4f14-ae74-c4f202b96327" alt=""><figcaption></figcaption></figure>
