【仅供内部供应商使用,不提供对外解答和培训】
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
compile fileTree(include: ['*.jar'], dir: 'libs') // 依赖部分jar包文件
compile ('com.fr.android:bi-sdk:+', {// BI功能对应模块.
// 可能的冲突版本 需要排除
// exclude group: 'com.google.zxing', module: 'core'
// exclude group: 'com.jiechic.library', module: 'xUtils'
// exclude group: 'com.android.support', module: 'appcompat-v7'
// exclude group: 'com.android.support', module: 'recyclerview-v7'
})
compile('com.fr.android:report-sdk:+', {// 报表对应模块.
// 可能的冲突版本 需要排除
// exclude group: 'com.google.zxing', module: 'core'
// exclude group: 'com.jiechic.library', module: 'xUtils'
// exclude group: 'com.android.support', module: 'appcompat-v7'
// exclude group: 'com.android.support', module: 'recyclerview-v7'
})
// 根据需要加载对应的插件模块
compile 'com.fr.android:location:+' // 定位插件,获取经纬度
compile 'com.fr.android:vpn:+' // VPN插件,登录Sangfor VPN 服务器
compile 'com.fr.android:gis:+' // GIS插件,显示GIS地图图表
compile 'com.fr.android:push-xg:+' // 推送插件, 集成信鸽推送服务 |
添加后,build.gradle如下所示
4. 在该模块清单文件的application标签中添加属性
...