TikTok Open Platform SDK For Android

Integrating our open SDK can help you leverage TikTok's open platform capabilities, such as sharing videos and pictures directly into TikTok. We hope to help you enhance your app's discovery and engagement, as well as provide another location for your users to share their favorite content for the world to see.

Getting started

Below is a quick start for you to apply the TikTok SDK to your application. You should confirm that your project has a Minimum API level of 16: Android 4.1 (Jelly Bean) or higher.

Step 1: Configure TikTok App Settings for Android

While you would normally download and configure app settings from our website (soon-to-be live), we'll work with you to create your APP in the system. After approval, you will get an Client Key. Our Server teams and PMs will provide hands-on assistance in this initial phase. Please refer to the email we sent you to initiate the process.

Note: Once we assign your Client Key, please keep it handy. You'll need it later.

Step 2: Install the SDK and Setup Android Project

  1. In Project window, switch to "Android" view tab and open Gradle Scripts > build.gradle (Project) . Then add the following repository in the repositories{} section. For example:

repositories {
    maven { url 'https://dl.bintray.com/aweme-open-sdk-team/public' }
  1. Open Gradle Scripts > build.gradle (Module: app) and add the following implementation statement to the dependencies{} section:
dependencies {

    implementation 'com.bytedance.ies.ugc.aweme:opensdk-oversea-external:'
    implementation 'com.bytedance.ies.ugc.aweme:opensdk-common:'
  1. Good job! Now, sync your project and get the latest version of SDK package. At this point, you should already set up the basic development environment. Next please refer to the feature access doc for further integrating.