Skip to content

java.net.http.HttpClient not compatible with Android #161

@kuiperanon

Description

@kuiperanon

I'm getting this when the library running on Android attempts to connect:

05-11 16:31:08.623 E/AndroidRuntime(21464): java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/net/http/HttpClient;

Full error output: https://gist.github.com/kuiperanon/b20ac52ff97e3cda52c44ceb94a10b29

I think we could make ConnectionImpl.java into a service that could replaced using different providers, and then one provider could be compatible with Android. Or should we just find a solution that is compatible with everything?

Metadata

Metadata

Assignees

Labels

Done!Completed the implementation. May require more testing.enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions