其他分享
首页 > 其他分享> > Error: Program type already present: com.google.gson.FieldAttributes 的解决方法

Error: Program type already present: com.google.gson.FieldAttributes 的解决方法

作者:互联网

 

在app中的build.gradle中加入如下代码,

configurations {
    all*.exclude group: 'com.google.code.gson'
    all*.exclude group: 'com.squareup.okhttp3'
    all*.exclude group: 'com.squareup.okio'
    all*.exclude group: 'com.android.support',module:'support-v13'
}

 如图

 

标签:FieldAttributes,already,group,type,support,google,squareup,exclude,com
来源: https://www.cnblogs.com/sea-stream/p/10596873.html