Using SimpleXML with Android and Gradle

后端 未结 4 2001
暗喜
暗喜 2021-01-30 05:26

I\'m having troubles trying to compile an Android application with Gradle 0.5.+ and Android Studio, using SimpleXML.

This is the error:

Gradle: Execution         


        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 05:49

    You need to also exclude stax-API.

    implementation('org.simpleframework:simple-xml:2.7.+'){
        exclude module: 'stax'
        exclude module: 'stax-api'
        exclude module: 'xpp3'
    }
    

提交回复
热议问题