{"action":"created","issue":{"url":"https://api.github.com/repos/hnvn/flutter_downloader/issues/3","repository_url":"https://api.github.com/repos/hnvn/flutter_downloader","labels_url":"https://api.github.com/repos/hnvn/flutter_downloader/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hnvn/flutter_downloader/issues/3/comments","events_url":"https://api.github.com/repos/hnvn/flutter_downloader/issues/3/events","html_url":"https://github.com/hnvn/flutter_downloader/issues/3","id":331568240,"node_id":"MDU6SXNzdWUzMzE1NjgyNDA=","number":3,"title":"\"Worker result FAILURE\" on Android","user":{"login":"webpn","id":4500078,"node_id":"MDQ6VXNlcjQ1MDAwNzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4500078?v=4","gravatar_id":"","url":"https://api.github.com/users/webpn","html_url":"https://github.com/webpn","followers_url":"https://api.github.com/users/webpn/followers","following_url":"https://api.github.com/users/webpn/following{/other_user}","gists_url":"https://api.github.com/users/webpn/gists{/gist_id}","starred_url":"https://api.github.com/users/webpn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpn/subscriptions","organizations_url":"https://api.github.com/users/webpn/orgs","repos_url":"https://api.github.com/users/webpn/repos","events_url":"https://api.github.com/users/webpn/events{/privacy}","received_events_url":"https://api.github.com/users/webpn/received_events","type":"User","site_admin":false},"labels":[{"id":957421956,"node_id":"MDU6TGFiZWw5NTc0MjE5NTY=","url":"https://api.github.com/repos/hnvn/flutter_downloader/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-12T12:35:23Z","updated_at":"2018-06-13T12:49:30Z","closed_at":null,"author_association":"NONE","body":"Plugin works like a breeze on iOS, but I get an error on Android.\r\n\r\nThis is what I get from the log:\r\n```\r\nI/flutter (27342): Download task is enqueued with id(a1fd47bc-d615-41ba-8eb9-65dc173bfafb)\r\nD/SystemJobScheduler(27342): Scheduling work ID a1fd47bc-d615-41ba-8eb9-65dc173bfafb Job ID 19\r\nD/GreedyScheduler(27342): Starting tracking for a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/SystemJobService(27342): onStartJob for a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/ConstraintTracker(27342): NetworkStateTracker: initial state = [ Connected=true Validated=true Metered=false NotRoaming=true ]\r\nD/NetworkStateTracker(27342): Registering network callback\r\nD/WorkConstraintsTracker(27342): Constraints met for a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/GreedyScheduler(27342): Constraints met: Scheduling work ID a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/WorkConstraintsTracker(27342): Constraints met for a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/GreedyScheduler(27342): Constraints met: Scheduling work ID a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/Processor(27342): Processor: processing a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/Processor(27342): Work a1fd47bc-d615-41ba-8eb9-65dc173bfafb is already enqueued for processing\r\nD/Processor(27342): Work a1fd47bc-d615-41ba-8eb9-65dc173bfafb is already enqueued for processing\r\nD/NetworkStateTracker(27342): Network capabilities changed: [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&FOREGROUND LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -50]\r\nD/WorkerWrapper(27342): Worker result FAILURE for a1fd47bc-d615-41ba-8eb9-65dc173bfafb\r\nD/Processor(27342): Processor a1fd47bc-d615-41ba-8eb9-65dc173bfafb executed; isSuccessful = false, reschedule = false\r\nD/SystemJobService(27342): a1fd47bc-d615-41ba-8eb9-65dc173bfafb executed on JobScheduler\r\nI/zygote64(27342): Do partial code cache collection, code=61KB, data=47KB\r\nI/zygote64(27342): After code cache collection, code=61KB, data=47KB\r\nI/zygote64(27342): Increasing code cache capacity to 256KB\r\n```\r\n\r\nThis is my code:\r\n```\r\nString taskId = await FlutterDownloader.enqueue(url: link, savedDir: path,);\r\n```\r\n\r\nI know nothing about Android Studio or how to debug Android Apps, so I really don't know how where to start to debug this issue.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/hnvn/flutter_downloader/issues/comments/396925376","html_url":"https://github.com/hnvn/flutter_downloader/issues/3#issuecomment-396925376","issue_url":"https://api.github.com/repos/hnvn/flutter_downloader/issues/3","id":396925376,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjkyNTM3Ng==","user":{"login":"webpn","id":4500078,"node_id":"MDQ6VXNlcjQ1MDAwNzg=","avatar_url":"https://avatars0.githubusercontent.com/u/4500078?v=4","gravatar_id":"","url":"https://api.github.com/users/webpn","html_url":"https://github.com/webpn","followers_url":"https://api.github.com/users/webpn/followers","following_url":"https://api.github.com/users/webpn/following{/other_user}","gists_url":"https://api.github.com/users/webpn/gists{/gist_id}","starred_url":"https://api.github.com/users/webpn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpn/subscriptions","organizations_url":"https://api.github.com/users/webpn/orgs","repos_url":"https://api.github.com/users/webpn/repos","events_url":"https://api.github.com/users/webpn/events{/privacy}","received_events_url":"https://api.github.com/users/webpn/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T12:49:30Z","updated_at":"2018-06-13T12:49:30Z","author_association":"NONE","body":"Sure, I'll publish my repo soon (probably in next 12 hours): maybe the error is caused by some conflict with other installed packages. "}}
{"actor":{"display_login":"webpn"}}