# Install Fordefi's Native Android SDK To run the Fordefi Wallet SDK, you will need to add the following dependencies: 1. In project `build.gradle` add dependency: ```kotlin buildscript { repositories { maven { url = "https://plugins.gradle.org/m2/" } mavenCentral {} } dependencies { classpath 'com.android.tools.build:gradle:3.3.3' classpath "org.jfrog.buildinfo:build-info-extractor-gradle:5.1.10" } } plugins { id 'com.jfrog.artifactory' version '5.+' apply false } ``` 1. In `settings.gradle` add a dependency to the maven repository for Wallet SDK in the resolution management section: ```kotlin dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { credentials { username = "YOUR_JFROG_USER_NAME" password = "YOUR_JFROG_PASSWORD" } url = uri("https://fordefi.jfrog.io/artifactory/android-sdk") } } } ``` 1. In the application `build.gradle`, add the `com.jfrog.artifactory` plugin and dependency to the Fordefi SDK: ```kotlin plugins { id "com.jfrog.artifactory" version "5.+" } dependencies { implementation(group: "com.fordefi", name: "android-sdk", version: "1.0.73", ext: "aar") } ``` 1. If you require the Fordefi Backup Provider SDK, perform these additional steps: - In the resolution management section, add a dependency in `settings.gradle` to the maven repository. - In the `build.gradle` application, add a dependency to Backup Provider SDK. ```kotlin dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { credentials { username = "YOUR_JFROG_USER_NAME" password = "YOUR_JFROG_PASSWORD" } url = uri("https://fordefi.jfrog.io/artifactory/android-backup-cloud-providers-sdk") } } } ``` ```kotlin dependencies { implementation(group = 'com.fordefi', name = 'android-backup-cloud-providers-sdk', version = '1.0.73', ext = "aar") implementation(group = "com.google.android.gms", name = "play-services-auth", version = "20.7.0") implementation(group = "com.google.http-client", name = "google-http-client-gson", version = "1.43.3") { exclude(group = "org.apache.httpcomponents", module = "httpclient") exclude(group = "org.apache.httpcomponents", module = "httpcore") } implementation(group = "com.google.api-client", name = "google-api-client-android", version = "2.2.0") { exclude(group = "org.apache.httpcomponents") } implementation(group = "com.google.apis", name = "google-api-services-drive", version = "v3-rev197-1.25.0") { exclude(group = "org.apache.httpcomponents") } } ```