Large number of errors during Gradle build after upgrading to Android Studio 2.0

前端 未结 7 1369
青春惊慌失措
青春惊慌失措 2020-12-07 20:55

Recently, I upgraded Android Studio from version 1.5 to 2.0 but since then I observe that the number of errors and warnings has increased. Most of the errors do not make sen

相关标签:
7条回答
  • 2020-12-07 21:28

    I had pretty much the same messages after integrating SimpleXML retrofit2 converter in my project. I had to exclude some libraries that were already bundled with Android to make it build properly.

    Like so:

    compile ("com.squareup.retrofit2:converter-simplexml:2.0.2") {
    exclude group: 'xpp3', module: 'xpp3'
    exclude group: 'stax', module: 'stax-api'
    exclude group: 'stax', module: 'stax'}
    
    0 讨论(0)
提交回复
热议问题