在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: com.google.gson.FieldAttributes 的解决方法

 

相关文章:

  • 2021-05-12
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-01-28
  • 2021-04-18
  • 2021-10-03
猜你喜欢
  • 2021-07-06
  • 2022-12-23
  • 2021-10-22
  • 2021-07-09
  • 2021-04-10
  • 2022-02-15
  • 2021-11-28
相关资源
相似解决方案