Using SimpleXML with Android and Gradle

后端 未结 4 2009
暗喜
暗喜 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:48

    I am getting the same error while using SimpleFramework. Actually i resolved it by adding these lines in build.gradle:

    compile('org.simpleframework:simple-xml:2.7.1') 
    {
       exclude group: 'stax', module: 'stax-api'
       exclude group: 'xpp3', module: 'xpp3'
    }

提交回复
热议问题