雨后de_黎明
雨后de_黎明
  • 发布:2019-01-29 10:44
  • 更新:2019-01-29 10:58
  • 阅读:1797

android studio离线打包,最新版本的sdk,lib下面必须引入哪些arr和jar包?

分类:5+ SDK

离线打包,新版本的sdk里面有太多的arr包,全部引入会导致apk的容量太大。因为我只用到了百度地图,推送和通讯录,所以我只引入了
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
compile(name:'baidu-libs-release', ext:'aar')
compile(name:'map-baidu-release', ext:'aar')
compile(name:'aps-release', ext:'aar')
compile(name:'aps-igexin-release', ext:'aar')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.alibaba.android:bindingx-core:1.0.3'
implementation 'com.alibaba.android:bindingx_weex_plugin:1.0.3'
}

但是这样的话buld项目会报错。求问,新版本的sdk,离线打包必须要引入的jar包和arr包

2019-01-29 10:44 负责人:无 分享
已邀请:
DCloud_Android_zl

DCloud_Android_zl

lib.5plus.base-release.aar必须添加

其余配置详情请参考SDK中的Feature-Android.xls文件

该问题目前已经被锁定, 无法添加新回复