Solve commons-codec conflict on Android #75
Labels
priority: p0
Highest priority. Critical issue. P0 implies highest priority.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
From yan...@google.com on March 20, 2012 11:55:22
Version of google-http-java-client (e.g. 1.5.0-beta)? 1.7.0-beta Java environment (e.g. Java 6, Android 2.3, App Engine)? Android only Describe the problem. Android runtime includes Apache Commons Codec version 1.3, but we need features from version 1.6. When methods from 1.6 are invoked that are not available in 1.3, you get NoSuchMethodError's at runtime. How would you expect it to be fixed? To avoid the conflict on Android, we use jarjar to include private of Apache Commons Codec. We now provide a proxy classes com.google.api.client.util.Base64 and StringUtils to invoke the private version of Base64 and StringUtils from commons-codec version 1.6.
Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=75
The text was updated successfully, but these errors were encountered: