Docy

Download the Android SDK

Prerequisites

  1. Target API 21+ and use Gradle 6.1.1 or above.
  2. Use compileSdkVersion 31 or above.
  3. If you use Proguard, make sure to read this.

1. Add the repositories

Open your project level build.gradle and add the following repositories if your app is not enrolled in Designed for Families program.

				
					mavenCentral()
maven { url "https://artifact.bytedance.com/repository/pangle" }
maven { url "https://android-sdk.is.com" }
maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea" }
				
			

Add these repositories to use Lite SDK and reduce the size of your build.

				
					mavenCentral()
maven { url "https://android-sdk.is.com" }
maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea" }

				
			

2. Import the SDK

Open your app level build.gradle and add the following dependency if your app is not enrolled in Designed for Families program.

				
					implementation 'com.yodo1.mas:full:4.9.2'

				
			

Add this dependency to use Lite SDK.

				
					implementation 'com.yodo1.mas:lite:4.9.2'
				
			

3. Video tutorial

CONTENTS