Here is my gradle file
apply plugin: \'com.android.application\'
apply plugin: \'me.tatarka.retrolambda\'
android {
compileSdkVersion 23
buildToolsV
Seem like Simple XML has transitive dependencies which are already included in Android. See https://github.com/square/retrofit/issues/1536. We need to exclude three dependencies: stax:stax-api, stax:stax, and xpp3:xpp3. I managed to achieve this by using this compile statement in gradle
compile ('com.squareup.retrofit2:converter-simplexml:2.0.0-beta4'){
exclude module: 'stax-api'
exclude module: 'stax'
exclude module: 'xpp3'
}