---
schema_version: "1"
id: b7fee8dc1b89701e2f6b86dcd108f51717d3ba66cc02324e9028fe9f86b2b973
title: Requirements for the Android SDK
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/messaging-in-app/guides/android-requirements.md
canonical_url: https://developer.salesforce.com/docs/service/messaging-in-app/guide/android-requirements.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: acf581fbe28aa165f61f523f5090ce117915f270be715cc97779a54816768529
products:
  - Enhanced In-App Chat
  - Service Cloud Developer Content
---
# Requirements for the Android SDK

Before you install the SDKs, understand the external components and extensions used with the SDKs and ensure your devices meet all requirements:

## Android SDK

The UI SDK and Core SDK require Android 6.0 (API Level 23), also known as Marshmallow, or higher.

## New Relic

If you use the New Relic Android agent with the SDKs, use New Relic Android agent version 7.2.0 or higher. Also, add this code to the `build.gradle` file. This requirement is essential to avoid server-sent event connection failures due to a dependency conflict between New Relic and OkHttp. See the [New Relic](https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile-android/install-configure/configure-new-relic-gradle-plugin/) and [OkHttp](https://square.github.io/okhttp/) documentation.

```
newrelic {
    excludePackageInstrumentation("("okhttp3.sse.internal.RealEventSource")")
}
```

## Zetetic SQLCipher

SQLCipher Community Edition is an open source extension to SQLite that supports database-level encryption. The UI SDK uses the SQLCipher extension.

```
Copyright (c) 2005, ZETETIC LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
* Neither the name of the ZETETIC LLC nor the
  names of its contributors may be used to endorse or promote products
  derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY ZETETIC LLC ''AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL ZETETIC LLC BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```

Per SQLCipher's guidelines, if you use the Salesforce custom library, please include the SQLCipher Community Edition license and copyright statement in your application and documents. You can find more information about the guidelines at [https://www.zetetic.net/sqlcipher/community/](https://www.zetetic.net/sqlcipher/community/).
