# Install the SDK

Install the Superwall Android SDK via Gradle.

Overview [#overview]

To see the latest release, [check out the repository](https://github.com/superwall/Superwall-Android)

Install via Gradle [#install-via-gradle]

[Gradle](https://developer.android.com/build/releases/gradle-plugin) is the
preferred way to install Superwall for Android.

In your `build.gradle` or `build.gradle.kts` add the latest Superwall SDK. You
can find the [latest release here](https://github.com/superwall/Superwall-Android/releases).

<img src="__img0" />

## Tab

```groovy build.gradle
implementation "com.superwall.sdk:superwall-android:2.7.15"
```

## Tab

```kotlin build.gradle.kts
implementation("com.superwall.sdk:superwall-android:2.7.15")
```

## Tab

```toml libs.version.toml
[libraries]
superwall-android = { group = "com.superwall.sdk", name = "superwall-android", version = "2.7.15" }

// And in your build.gradle.kts
dependencies {
    implementation(libs.superwall.android)
}
```



Make sure to run **Sync Now** to force Android Studio to update.

<img src="__img1" /> 

<br />

Go to your `AndroidManifest.xml` and add the following permissions:

<img src="__img2" />

```xml AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.vending.BILLING" />
```

Then add our Activity to your `AndroidManifest.xml`:

<img src="__img3" />

```xml AndroidManifest.xml
<activity
  android:name="com.superwall.sdk.paywall.view.SuperwallPaywallActivity"
  android:theme="@style/Theme.MaterialComponents.DayNight.NoActionBar"
  android:configChanges="orientation|screenSize|keyboardHidden">
</activity>
<activity android:name="com.superwall.sdk.debug.DebugViewActivity" />
<activity android:name="com.superwall.sdk.debug.localizations.SWLocalizationActivity" />
<activity android:name="com.superwall.sdk.debug.SWConsoleActivity" />
```

Set your app's theme in the `android:theme` section.

When choosing a device or emulator to run on make sure that it has the Play Store app and that you are signed in to your Google account on the Play Store.

<Check>
  **And you're done!**

   Now you're ready to configure the SDK 👇
</Check>