Android 快速集成友盟推送build.gradle报错

qq_36191093 2019-07-25 02:06:35



都是按照官网集成的
android studio报错:
...全文
244 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_36191093 2019-07-25
  • 打赏
  • 举报
回复
集成友盟utdid包的时候失败了。。。 /* 圆形控件 */ implementation 'de.hdodenhof:circleimageview:2.1.0' /* ButterKnife */ implementation 'com.jakewharton:butterknife:8.8.1' implementation 'com.jakewharton:butterknife-compiler:8.8.1' /* Retorfit */ implementation 'com.squareup.retrofit2:retrofit:2.3.0' /* Gson */ implementation 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.google.code.gson:gson:2.8.1' /* RxJava */ implementation 'io.reactivex.rxjava2:rxjava:2.2.0' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' /* OkHttp3 */ implementation 'com.squareup.okhttp3:okhttp:3.9.1' implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1' implementation 'com.squareup.okio:okio:1.11.0' /* okhttp下载文件 */ implementation 'com.zhy:okhttputils:2.6.2' /* 进度监听框架 */ implementation 'me.jessyan:progressmanager:1.5.0' /* 权限检测框架 */ implementation 'pub.devrel:easypermissions:1.0.1' /* fastJson */ implementation 'com.alibaba:fastjson:1.1.56.android' implementation 'com.github.bumptech.glide:glide:4.8.0' implementation 'com.bigkoo:convenientbanner:2.0.5' implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' implementation 'com.danikula:videocache:2.7.0' /* 拼音 */ implementation 'com.belerweb:pinyin4j:2.5.1' /* GreenDao */ implementation 'org.greenrobot:greendao:3.2.2' // add library /* dex拆分成多个dex,解决方法数越界问题,error:65536 */ implementation 'org.robolectric:shadows-multidex:3.3.1' /* eventBus */ implementation 'org.greenrobot:eventbus:3.1.1' /* 滑动删除 */ implementation 'com.daimajia.swipelayout:library:1.2.0' /* 动画库 */ implementation 'com.nineoldandroids:library:2.4.0' /* 側滑退出Activity */ implementation 'com.github.anzewei:parallaxbacklayout:1.1.9' //1.1.0 (1.0.5及以前版本的老用户升级需谨慎,API改动过大) /* 下拉刷新-上拉加载 */ implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-28' implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-28' //没有使用特殊Header,可以不加这行 /* 加载Dialog框 */ // implementation 'com.github.lzy2626:LzyLoading:1.9' implementation 'com.kaopiz:kprogresshud:1.0.2' /* 时间选择器 */ implementation 'com.contrarywind:Android-PickerView:3.2.7' /* 微信SDK */ implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+' /* xml解析 */ implementation('com.thoughtworks.xstream:xstream:1.4.7') { exclude group: 'xmlpull', module: 'xmlpull' } // 支付宝 implementation(name: 'alipaySdk-15.6.2-20190416165036', ext: 'aar') //app安全 implementation 'com.lahm.library:easy-protector-release:latest.release' // ListView侧滑删除 // implementation 'com.hlq:slideDeleteListView:1.0.0' implementation files('libs/ocr-sdk.jar') implementation project(path: ':ocr_ui') /*友盟统计需要的最新版本组件化基础库和统计SDK*/ implementation 'com.umeng.sdk:common:latest.integration' implementation 'com.umeng.sdk:analytics:latest.integration' //PushSDK必须依赖基础组件库,所以需要加入对应依赖 implementation 'com.umeng.umsdk:common:1.5.4' //PushSDK必须依赖utdid库,所以需要加入对应依赖 implementation 'com.umeng.umsdk:utdid:1.1.5.3' //PushSDK implementation 'com.umeng.umsdk:push:6.0.1' /* walle打包 */ implementation 'com.meituan.android.walle:library:1.1.6'
qq_36191093 2019-07-25
  • 打赏
  • 举报
回复
来人呐 ,踩踩踩踩踩
qq_36191093 2019-07-25
  • 打赏
  • 举报
回复
好恶心。。我在家里的电脑就编译正常不报错,只是打包出来收不到消息,在公司电脑直接无法编译》。。。。好着急啊,在线等

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧