android解决okhttp依赖冲突

weex依赖okhttp2,腾讯cos依赖okhttp3,这两个依赖的okio版本不一致致使了冲突weex

解决办法:spa

     compile 'com.squareup.okhttp:okhttp-ws:2.3.0'
      compile 'com.squareup.okio:okio:1.13.0'
    compile 'com.squareup.okhttp3:okhttp:3.8.1' //COS依赖   compile ('com.squareup.okhttp:okhttp:2.3.0',{ //Weex依赖 exclude module: "okio"           //(原依赖的是1.3.0改成依赖高版本1.13.0) })
相关文章
相关标签/搜索