title: How to resolve a library conflict (apache commons-codec)
body: <p>I have a problem with Android libraries. </p>
  
  <p>I would like use the method Hex.encodeHexString(Byte Array) from the library org.apache.commons.codec.binary.Hex (version 1.6)</p>
  
  <p>On my Android platform (SDK 2.3.1), the commons-codec library version 1.3 already exist but the method doesn't exist yet in this version (only encodeHex() ).</p>
  
  <p>I added the jar library of version 1.6 into my Eclipse project (into /libs directory) but when I run the project on Emulator, I get this : </p>
  
  <pre><code>E/AndroidRuntime(1632): FATAL EXCEPTION: main
  E/AndroidRuntime(1632): java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Hex.encodeHexString
  </code></pre>
  
  <p>How can I indicate the OS where is the good library?</p>
  
  <p>I'm using Eclipse Juno with Java 1.6.0 on Mac OS X</p>
  
  <p>Sorry for my bad english and thanks in advance!</p>
  
  <p>EDIT : My problem could be apparently solved with jarjar tool.
  <a href="http://code.google.com/p/google-http-java-client/issues/detail?id=75">http://code.google.com/p/google-http-java-client/issues/detail?id=75</a></p>
  
  <p>Someone could help me with this tool? I don't know how to create an Ant Manifest or a jar file.</p>
  
  <p>Thanks</p>