仔細看了下錯誤報告,確定是gson這個庫有重復導致的問題。
解決方案:
在重復引用的庫中加入exclude
compile ('com.squareup.retrofit2:converter-gson:2.1.0'){
exclude group:'com.google.code.gson'}
仔細看了下錯誤報告,確定是gson這個庫有重復導致的問題。
解決方案:
在重復引用的庫中加入exclude
compile ('com.squareup.retrofit2:converter-gson:2.1.0'){
exclude group:'com.google.code.gson'}