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

# Android

Android Native SDK, with support for Compose and native webviews

## Installation

{% code title="build.gradle" %}

```groovy
dependencies {
    // ... other dependencies ...
    implementation 'io.cobrowse:cobrowse-sdk-android:3.+'
}
```

{% endcode %}

Add the following lines to your code which will register this device with the Cobrowse servers so you can connect to it. You could choose to do this on app startup, or when your users visits a support page in your application, or any other time.

```kotlin
import io.cobrowse.CobrowseIO
// ...

CobrowseIO.instance().license("put your license key here")
CobrowseIO.instance().start()
```

You may also start Cobrowse in your MainActivity or other Activity if necessary. In that case, the SDK will continue to function even as new Activities are being created and destroyed.

### Add your license key

Please register an account and generate your free License Key at <https://cobrowse.io/dashboard/settings>.

This will associate sessions from your mobile app with your Cobrowse.io account.

## Try it out

Once you have your app running in the Android emulator or on a physical device, navigate to <https://cobrowse.io/dashboard> to see your device listed. You can click the "Connect" button to initiate a Cobrowse session!

## Requirements

* API version 19 (4.4 KitKat) or later

{% hint style="warning" %}
Support for Android 4.4 and Android 5.0 will be ended in upcoming versions
{% endhint %}

## Stay up to date

The `3.+` dependency above picks up the latest 3.x release each time your dependencies are resolved. There are a few ways to find out about new releases:

* Subscribe to `https://github.com/cobrowseio/cobrowse-sdk-android-binary/releases.atom` in your RSS reader. Release notes are in the [changelog](https://github.com/cobrowseio/cobrowse-sdk-android-binary/blob/master/CHANGELOG.md).
* If you pin a specific version, Android Studio highlights the dependency in your build file when a newer version is available.
* Subscribe to [cobrowse-sdk-android on libraries.io](https://libraries.io/maven/io.cobrowse:cobrowse-sdk-android) to get an email for each new version.

{% hint style="success" %}
Any questions at all? Please email us at <hello@cobrowse.io>.
{% endhint %}
