Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve commons-codec conflict on Android #75

Closed
wonderfly opened this issue Jan 9, 2015 · 2 comments
Closed

Solve commons-codec conflict on Android #75

wonderfly opened this issue Jan 9, 2015 · 2 comments
Assignees
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.

Comments

@wonderfly
Copy link
Contributor

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

@wonderfly wonderfly added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. imported priority: p0 Highest priority. Critical issue. P0 implies highest priority. labels Jan 9, 2015
@wonderfly
Copy link
Contributor Author

From yan...@google.com on March 20, 2012 13:44:11

http://codereview.appspot.com/5844050/

Status: Fixed

@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly
Copy link
Contributor Author

From rmis...@google.com on March 29, 2012 06:14:20

http://codereview.appspot.com/5955047

@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Apr 6, 2020
clundin25 pushed a commit to clundin25/google-http-java-client that referenced this issue Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants