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) })