# How to add a package with Gradle

> Add the Grovs SDK dependency to your Android project using Gradle.

Source: https://docs.grovs.io/docs/how-to-guides/android/gradle

### 1. Open app/build.gradle

In Android Studio, open your app module's `build.gradle`, usually `app/build.gradle`.

### 2. Add the dependency

Add Grovs inside `dependencies`:

```groovy
dependencies {
    // Other dependencies
    implementation("io.grovs:Grovs:3.1.0")
}
```

Check the [Android SDK docs](https://docs.grovs.io/docs/sdk/android) for the latest version.

### 3. Sync Gradle

Click **Sync Now** in the banner, or **Sync Project with Gradle Files** in the toolbar.

### 4. Verify the install

After the sync, the Grovs package appears under **External Libraries** in the Project view.

### 5. Import Grovs

**Kotlin**

```kotlin
import io.grovs.Grovs
```

**Java**

```java
import io.grovs.Grovs;
```
