Help Center/Details/

Integrate Pangle SDK for Android

This guide is for publishers who want to monetize an Android app with the traffic outside of china.

Environment requirement

  • minSdkVersion 14 and higher
  • targetSDKVersion 28 and higher
  • compileSdkVersion 29 and higher
  • gradleVersion required as below

Note: Pangle supports Android 11 since v3500 SDK, if your targetSDKVersion is 30 and above, we strongly recommend you that updating Pangle SDK to v3510 and higher

gradle (1).png

Import Pangle SDK

Note: JFrog has announced that they are shutting down the Bintray hosting service, which includes the popular JCenter hosting service for Java artifacts, the Pangle Android repository has been mrigrated to Maven

Apps can import the Pangle SDK with a Gradle dependency. First, make sure that Maven is referenced in the allprojects section of your project-level build.gradle file with the url ''.

Example project-level build.gradle (excerpt)

allprojects {
    repositories {
        maven {
            url ''


Next, open the app-level build.gradle file for your app, and look for a "dependencies" section.

dependencies {
    implementation ''
    implementation ''

Add the line in bold above, which instruct Gradle to pull in the Pangle SDK and additional related dependencies. Once that's done, save the file and perform a Gradle sync.

Update your AndroidManifestl.xml

Add the required permissions to your app's AndroidManifest.xml file, as shown below.

<!--Required  permissions-->
<uses-permission android:name="android.permission.INTERNET"  data-tomark-pass />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"  data-tomark-pass />

<!-- If there is a video ad and it is played with textureView, please be sure to add this, otherwise a black screen will appear -->
<uses-permission android:name="android.permission.WAKE_LOCK"  data-tomark-pass />

Add the TTMultiProvider to your app's AndroidManifest.xml file by adding a <provider data-tomark-pass=""> tag, as shown below: (TTMultiProvider needs to be removed starting from v4.1.0.0 sdk, otherwise it will cause packaging failure)</provider>

<manifest data-tomark-pass >
    <application data-tomark-pass >
        <!-- add the provider between the application tag -->
android:name="com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"   android:authorities="${applicationId}.TTMultiProvider"   android:exported="false"  data-tomark-pass />



If you need to use proguard to obfuscate your code, be sure not to obfuscate the SDK code. Please add the following configuration at the end of the proguard.cfg file (or other obfuscated files):

-keep class com.bytedance.sdk.** { *; }
-keep class com.pgl.sys.ces.* {*;}
Did the content solve your problem?