KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I try to export my apk with Proguard I get a lot of errors (over 400) similar to: Warning: org.codehaus.jackson.jaxrs.JsonMappingExceptionMapper: can't find superclass or interface javax.ws.rs.ext.ExceptionMapper and org.codehaus.jackson.xc.DataHandlerJsonDeserializer$1: can't find superclass or interface javax.activation.DataSource I am using the Jackson Json library , and the errors seem related to that. Researching this error I found the following from Proguards FAQ : If there are unresolved references to classes or interfaces, you most likely forgot to specify an essential library. For proper processing, all libraries that are referenced by your code must be specified, including the Java run-time library. For specifying libraries, use the -libraryjars option. Searching around on SO I found a lot of unanswered questions related to this, but the general sense was that the jar file I am using (in this case Jackon JSON) is relying on more libraries and they need to be added to Proguard's config file some how. However, I can't figure out how to determine what jars are needed and where they are. The warnings mention a lot of different packages such as javax.ws.rs.ext, org.joda.time, org.codehaus.stax2, javax.xml.stream, etc. How do I determine what jars contain those packages? For example, what jar is required for the javax.ws.rs.ext.** classes? How do I figure out where those jars are and what path would be used with -libraryjars in Proguard? Thanks much Edit: I should also mention that I am using an <a href="http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject" rel="noref
Tags (comma-separated)
Save Edits
Cancel