> For the complete documentation index, see [llms.txt](https://valify.gitbook.io/valify-ios-sdk-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://valify.gitbook.io/valify-ios-sdk-documentation/document-capture/android-native-sdk/installation-guide.md).

# Installation Guide

### Minimum Requirements

* Jetpack Library: AndroidX
* Java Version: 11
* API Level: 21 or higher (Android 5.0)
* Compile SDK: 32 or higher
* Camera access is mandatory (**NOTE :** The SDK handles permission requests, so you don't need to implement them in your app).

### Installation

{% hint style="info" %}
You **don't** have to do this step if you did it before while integrating another valify SDK in the same project.
{% endhint %}

Open the file `Gradle Scripts | settings.gradle (Project Settings)` and add the following in **dependencyResolutionManagement** section in **repositories** :

{% hint style="info" %}
Note : The credentials here are **NOT** placeholders (Leave them as they are) .
{% endhint %}

```groovy
dependencyResolutionManagement {
    repositories {
         maven {
              credentials {
                   username “sdk”
                   password “sdk123456”
                     }
                url “https://www.valifystage.com/artifactory/libs-release/”
               }

          maven { url "https://jitpack.io" }
          maven { url 'https://developer.huawei.com/repo/' }
          
     }
}
```

### SDK Dependancy

Open the file `Gradle Scripts | build.gradle (Module: app)` and add the following to the `dependencies` section:

```groovy
implementation 'com.vidv:VIDVOCRSDK: $LATEST_VERSION’
```

{% hint style="info" %}
Note: Latest Version: 3.6.0<br>
{% endhint %}

Add the following line in your Application Manifest **(AndroidManifest.xml)** inside **application** tag:

```xml
    <application
        ...
        ...
        ...
        tools:replace="android:allowBackup"
        ...
        ...
        ...
```

Add this line to support the 16 KB memory page size requirement inside **build.gradle**

android{

packagingOptions {&#x20;

&#x20;   jniLibs { excludes.add("lib/\*\*/libimage\_processing\_util\_jni.so") }&#x20;

&#x20;  }

&#x20;}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://valify.gitbook.io/valify-ios-sdk-documentation/document-capture/android-native-sdk/installation-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
