仔細(xì)看了下錯(cuò)誤報(bào)告矢空,確定是gson這個(gè)庫有重復(fù)導(dǎo)致的問題署拟。
解決方案:
在重復(fù)引用的庫中加入exclude
compile ('com.squareup.retrofit2:converter-gson:2.1.0'){
exclude group:'com.google.code.gson'}
仔細(xì)看了下錯(cuò)誤報(bào)告矢空,確定是gson這個(gè)庫有重復(fù)導(dǎo)致的問題署拟。
解決方案:
在重復(fù)引用的庫中加入exclude
compile ('com.squareup.retrofit2:converter-gson:2.1.0'){
exclude group:'com.google.code.gson'}