Getting Started - uc-union/union-ads-sdk-demo GitHub Wiki
SDK requires Android SDK level 11 or above.
If you employ Eclipse as the development environment, please go to Eclipse
Add the following repositories
info to project section in build.gradle
file, more details in build.gradle
repositories {
maven {
url 'https://raw.githubusercontent.com/uc-union/union-ads-maven-repository/master'
}
}
Add dependencies
dependency (usually defined in app/build.gradle
), more details in app/build.gradle
dependencies {
compile 'com.ucweb.union.ads:unionads:3.0.+'
}
Note: If you use Android Studio, you can skip this section.
-
Download Union Ad SDK from HERE
-
Decompress the aar file and get the following directory layout:
unionads_xxx.aar |--(Directories) |--AndroidManifest.xml |--proguard.txt |--classes.jar
-
Rename
classes.jar
tounionads.jar
, and move it intolibs
directory. -
Merge
AndroidManifest.xml
into the one of developer's project. -
Merge
proguard.txt
intoproguard.pro
of the developer's project.
-
See Mediation Guide to know about how to integrate ad from Facebook and AdMob.
-
Follow our guide on Initialize SDK to start sdk integration.