Retrofit冲突

在开发retrofit过程当中,发现一个冲突google

com.squareup.retrofit2:converter-gson:2.1.0包和谷歌的GSON冲突
使用一下代码解决冲突
compile('com.squareup.retrofit2:converter-gson:2.1.0')        {  exclude group: 'com.google.code.gson'            exclude group: 'com.squareup.okhttp3' }
相关文章
相关标签/搜索