Android: error including/repacking dependencies which reference javax core classes
I'm working on an Android app using Maven as the build tool. I managed to set evertyhing up correctly (maven dependencies are exported to the apk etc.), however I have one remaining problem which is driving me crazy. I want to include a dependency on simpleframework's xml parser defined as follows in my POM file: <dependency> <groupId>org.simpleframework</groupId> <artifactId>simple-xml</artifactId> <version>2.5.3</version> </dependency> When I issue mvn install on the project, I get the following error (truncated): trouble processing "javax/xml/namespace/NameSpaceContext.class" ... I know the