implementation WB.fixVersions('TJ:UMeng')
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
publishNonDefault true
defaultConfig {
manifestPlaceholders = [
....
UMENG_APPKEY:"5bbb2803b465f5c58c000017",
...
]
}
}
-keep class com.umeng.**
-keep class com.umeng.**{*;}
须在工程根目录的build.gradle中添加
buildscript {
repositories {
...
maven { url 'https://dl.bintray.com/umsdk/release' }
}
}
allprojects {
repositories {
...
maven { url 'https://dl.bintray.com/umsdk/release' }
}
}