The situation I have is that I have an Android Project (regular) which uses Amazon AWS android libr jars (inside libs folder). I recently cloned Autobahn (https://github.com/tavendo/AutobahnAndroid) and I'm using this library project on my own. The problem is that Amazon library uses jackson and it's contained in aws jar core jars. Since Autobahn also has that dependenciy I'm getting the following exception when generating the apk:
java.lang.IllegalArgumentException: already added: Lorg/codehaus/jackson/Base64Variant;
Since I can't modify the amazon library, is there any way I can tell Autobahn project to do not "export" jackson libs dependencies into my own project?
The JAR at https://autobahn.s3.amazonaws.com/android/autobahn-0.5.0.jar is pure library only with Autobahn classes and no reference to Jackson.
The archive https://autobahn.s3.amazonaws.com/android/autobahn-0.5.0.zip contains - as a convenience - both the Autobahn and Jackson JARs.
When you are using Autobahn source from GitHub, that will contain project files (plus examples and so on), which then sets up the dependency on Jackson.
You can build your own JAR from the source by going to the Autobahn directory within the repo and do a ant jar
. Then, only put that JAR into your project. That should work.