问题描述:android support库中的类、方法、属性等重复定义,导致merge失败
解决方法:使用gradle exclude方法,排除FR SDK中的相关依赖
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.google.zxing:core:3.1.0'
compile('com.fr.android:report-sdk:+', {
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'recyclerview'
exclude group: 'com.google.zxing', module:'core'
})
compile('com.fr.android:bi-sdk:+', {
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'recyclerview'
exclude group: 'com.google.zxing', module:'core'
}) |
问题描述:不同版本库混用导致应用奔溃
解决方法:同上