Error: Program type already present: org.xmlpull.v1.XmlPullParserException

Hi,

Thanks for the fast reply,

I get the files from the maven central repository but now I get this error while trying to build my android app:

Error: Program type already present: org.xmlpull.v1.XmlPullParserException

A google search didn’t help much as there are not many relevant results and the ones that exist didn’t help

I tried finding the cause with gradlew app:dependencies but with no luck, as no library seems to be using XmlPullParser

Also I’ve tried excluding this library with:

configurations {
all*.exclude group: ‘xmlpull’, module: ‘xmlpull’
}

but it didn’t help.

Any help with the matter will be very appreciated.

You probably want

configurations {
    all*.exclude group: 'xpp3', module: 'xpp3'
}

I would also appreciate it if you would open a new thread instead of commenting on the release announcement in the future. Thank you.

1 Like

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.