Skip to content

problem with httpcomponents in Android #188

Description

@Psijic

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions