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

problem with httpcomponents in Android #188

Open
Psijic opened this issue Jul 10, 2023 · 1 comment
Open

problem with httpcomponents in Android #188

Psijic opened this issue Jul 10, 2023 · 1 comment

Comments

@Psijic
Copy link

Psijic commented Jul 10, 2023

All is ok with Kotlin server, but get an error with Android:

java.lang.NoSuchMethodError: No static method getUserAgent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/String; in class Lorg/apache/http/util/VersionInfo; or its super classes (declaration of 'org.apache.http.util.VersionInfo' appears in /system/framework/org.apache.http.legacy.jar)
                   at com.backblaze.b2.client.webApiHttpClient.HttpClientFactoryImpl.<clinit>(HttpClientFactoryImpl.java:52)

Looks like there is need to update org.apache.httpcomponents dependencies

@midou221
Copy link

same error ... did you find any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants