Skip to content

The Jackson extension uses javax.xml.stream which is not available on Android. #964

Closed
@x12a1f

Description

@x12a1f

When running Android lint on my code it says:

..../org.restlet.ext.jackson-2.2.1.jar: Invalid package reference in library; not included in Android: javax.xml.stream. Referenced from org.restlet.ext.jackson.JacksonRepresentation.

It seems the Jackson extension is using parts of javax.xml.stream which is not on Android:

https://github.com/restlet/restlet-framework-java/blob/2.2/modules/org.restlet.ext.jackson/src/org/restlet/ext/jackson/JacksonRepresentation.java#L40

Since I am using json with Jackson on Android my app works.
Although I have not tested Jackson with XML on Android, I can imagine it will not work when using XML.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions