【仅供内部供应商使用,不提供对外解答和培训】
【仅供内部供应商使用,不提供对外解答和培训】
问题描述: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'
})
问题描述:不同版本库混用导致应用奔溃
解决方法:同上
问题描述:
import com.fr.android.activity.IFOEMUtils
import com.fr.android.utils.IFContextManager
import com.fr.android.app.IFOptionsHelper
等类似的包找不到符号或者不存在
解决方法: 从8.4.18版本开始, 相关的类分离到了platform模块, 所以此部分类需要重新引入正确包位置.