Skip to content

Update documentation on pluggable Http Client  #2126

@ErrorxCode

Description

@ErrorxCode

The Library uses Java HttpClient, which was removed in Android 7. Using this library on > Android 7 results in the following error:

NoClassDefFoundError: Failed resolution of: Ljava/net/http/HttpClient;

To Reproduce
Run GitHub.connectUsingOAuth() on android (API > 24)

Expected behaviour
No error, connection established

Desktop (please complete the following information):

  • OS: Android
  • Version 16

Please migrate from java HttpClient to OkHttp to keep wider support

Metadata

Metadata

Assignees

No one assigned

    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