Android
Clone URL of Demo:
1:Add maven repositories
buildscript {
repositories {
google()
jcenter()
maven { url 'http://developer.huawei.com/repo/'}
maven { url 'https://dl.bintray.com/umsdk/release' }
maven {
url 'https://android-sdk.is.com/'
}
}
dependencies {
classpath 'com.huawei.agconnect:agcp:1.1.1.300'
classpath 'com.android.tools.build:gradle:3.4.3'
}
}2:Add in project gradle.properties
3:Implementation modules
4:Add proguard config
5:Add code in the project
5.1 Modify Application.java
5.2 Modify the main Activity
6. Modify AndroidManifest.xml
7. Put in the configuration file and modify
8:Configuration items of test
1.Open app/build.gradle,modify package/channel/umeng appkey.
2. Modify the background of Splash AD.
最后更新于