I have a problem with Android libraries.
I would like use the method Hex.encodeHexString(Byte Array) from the library org.apache.commons.codec.binary.Hex (version 1
Late reply but maybe usefull for someone.
Problem solved by using Maven Shade Plugin
This plugin allows to rename package names of conflicted library at compilation.
Usage :
org.apache.maven.plugins maven-shade-plugin package shade org.apache.commons com.example.shaded.org.apache.commons true