Skip to content

problem with httpcomponents in Android #188

@Psijic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions