Skip to main content

Android SDK

While DeployGate can distribute an app with just an APK file upload, incorporating an SDK makes the app development process more seamless.

SDK Installation (Android Studio/Gradle)

  1. Enter the following into the app module’s build.gradle file (Example: app/build.gradle).
// Groovy DSL

dependencies {
implementation "com.deploygate:sdk:${latest_version}"
// Kotlin DSL

dependencies {

If the app’s targetSdkVersion is 30 or later

Please use Android SDK 4.3.0 or later. If use 4.3.0 or earlier, for devices with Android 11 or later, package queries must be enabled for SDK to connect to DeployGate services. As such, please add the following to AndroidManifest.xml.

<package android:name="com.deploygate" />
  1. On Android Studio, click on Sync Project With Gradle Files to apply the edits.

Screenshot of Android sdk

  1. After building and distributing an app with DeployGate, the app’s launch and crash reports will be available on DeployGate.
Building and uploading is easy with the Gradle DeployGate Plugin

Gradle Plugin allows you to build and upload by simply running Gradle task.

DeployGate SDK will not function with builds not distributed via DeployGate

DeployGate SDK will only function with builds distributed via DeployGate in conjunction with the DeployGate app. It will not function when installed on emulators or devices directly connected to development environments, not through DeployGate.

Some features provided by DeployGate SDK might function only with specific OS version or later

Please review the corresponding references listed below for more details.