{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/SignalR/issues/3141","repository_url":"https://api.github.com/repos/aspnet/SignalR","labels_url":"https://api.github.com/repos/aspnet/SignalR/issues/3141/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/SignalR/issues/3141/comments","events_url":"https://api.github.com/repos/aspnet/SignalR/issues/3141/events","html_url":"https://github.com/aspnet/SignalR/issues/3141","id":370460647,"node_id":"MDU6SXNzdWUzNzA0NjA2NDc=","number":3141,"title":"Duration requires android api level 26 or higher","user":{"login":"DHosseiny","id":9461116,"node_id":"MDQ6VXNlcjk0NjExMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/9461116?v=4","gravatar_id":"","url":"https://api.github.com/users/DHosseiny","html_url":"https://github.com/DHosseiny","followers_url":"https://api.github.com/users/DHosseiny/followers","following_url":"https://api.github.com/users/DHosseiny/following{/other_user}","gists_url":"https://api.github.com/users/DHosseiny/gists{/gist_id}","starred_url":"https://api.github.com/users/DHosseiny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DHosseiny/subscriptions","organizations_url":"https://api.github.com/users/DHosseiny/orgs","repos_url":"https://api.github.com/users/DHosseiny/repos","events_url":"https://api.github.com/users/DHosseiny/events{/privacy}","received_events_url":"https://api.github.com/users/DHosseiny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-16T06:40:18Z","updated_at":"2018-10-16T15:55:22Z","closed_at":null,"author_association":"NONE","body":"Duration class used here added in java 8 and android not support java 8 completely in api level lower than 26. Please use other way to implement duration. here is exception line [HubConnection.java:50](https://github.com/aspnet/SignalR/blob/defbadb26b4224d5025549992fc5ae4e95e0d288/clients/java/signalr/src/main/java/com/microsoft/signalr/HubConnection.java#L50)\r\nHere is first exception lines:\r\n`java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/Duration;\r\n        at com.microsoft.signalr.HubConnection.<init>(HubConnection.java:50)`\r\nto produce this issue just create a HubConnection in android app with api lower than 26.\r\nversion: 99.99.99-dev"},"comment":{"url":"https://api.github.com/repos/aspnet/SignalR/issues/comments/430293146","html_url":"https://github.com/aspnet/SignalR/issues/3141#issuecomment-430293146","issue_url":"https://api.github.com/repos/aspnet/SignalR/issues/3141","id":430293146,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDI5MzE0Ng==","user":{"login":"anurse","id":7574,"node_id":"MDQ6VXNlcjc1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/7574?v=4","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T15:55:22Z","updated_at":"2018-10-16T15:55:22Z","author_association":"MEMBER","body":"FYI for other maintainers: Android API Level 26 corresponds to Android Oreo (8.0)\r\n\r\nI think it makes sense to avoid `Duration` given this. Thanks for the report!"}}
{"actor":{"display_login":"anurse"}}