在我的Android项目中,我使用
compile 'com.squareup.okhttp:okhttp:2.2.0'
我需要 okhttp 的 2.2.0 版本以使我的代码正常运行。但是,当我添加时出现了问题。
compile('io.intercom.android:intercom-sdk:1.1.2@aar') {
transitive = true
}
因为在intercom-sdk内部,后续版本再次使用了okhttp依赖:
compile 'com.squareup.okhttp:okhttp:2.4.0'
我的代码结果使用了2.4.0版本,而不是我想要的2.2.0版本。请问在我的模块中有没有办法使用我指定的2.2.0版本,并让intercom使用它的2.4.0版本?
com.squareup.okhttp3
。 - Tobrun