Error: Program type already present: okhttp3.Authenticator$1

 

在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'
}

 如图

Error: Program type already present: okhttp3.Authenticator$1

 

上一篇:tar 备份还原 Linux 系统


下一篇:Program type already present:okio.AsyncTimeout$Watchdog Message{kind=ERROR, text=Program type :okio