# Installation

Step 1. Add the JitPack repository to your build file&#x20;

Add it in your root build.gradle at the end of repositories:

{% tabs %}
{% tab title="Kotlin" %}

```kotlin
dependencyResolutionManagement {
        repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
        repositories {
            mavenCentral()
            maven { url 'https://jitpack.io' }
        }
    } 
```

{% endtab %}

{% tab title="Groovy" %}

```groovy

dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	} 

```

{% endtab %}
{% endtabs %}

Step 2. Add the dependency

{% tabs %}
{% tab title="Kotlin" %}

```kotlin
    dependencies {
        implementation ("com.github.tyrads-com:tyrads-sdk-android:LATEST_VERSION") // replace LATEST_VERSION with  1.1.0 or the latest stable version	}
```

{% endtab %}

{% tab title="Groovy" %}

```groovy
dependencies {
        implementation 'com.github.tyrads-com:tyrads-sdk-android:LATEST_VERSION'  // replace LATEST_VERSION with  1.1.0 or the latest stable version
	}1.1.0 or the latest stable version	}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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://sdk-doc.tyrads.com/v3.0/android/installation.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.
