{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/14942","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/14942/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/14942/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/14942/events","html_url":"https://github.com/flutter/flutter/issues/14942","id":300873596,"node_id":"MDU6SXNzdWUzMDA4NzM1OTY=","number":14942,"title":"I can't accept android-licenses","user":{"login":"allowthere","id":31812983,"node_id":"MDQ6VXNlcjMxODEyOTgz","avatar_url":"https://avatars0.githubusercontent.com/u/31812983?v=4","gravatar_id":"","url":"https://api.github.com/users/allowthere","html_url":"https://github.com/allowthere","followers_url":"https://api.github.com/users/allowthere/followers","following_url":"https://api.github.com/users/allowthere/following{/other_user}","gists_url":"https://api.github.com/users/allowthere/gists{/gist_id}","starred_url":"https://api.github.com/users/allowthere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allowthere/subscriptions","organizations_url":"https://api.github.com/users/allowthere/orgs","repos_url":"https://api.github.com/users/allowthere/repos","events_url":"https://api.github.com/users/allowthere/events{/privacy}","received_events_url":"https://api.github.com/users/allowthere/received_events","type":"User","site_admin":false},"labels":[{"id":536115083,"node_id":"MDU6TGFiZWw1MzYxMTUwODM=","url":"https://api.github.com/repos/flutter/flutter/labels/t:%20flutter%20doctor","name":"t: flutter doctor","color":"5319e7","default":false},{"id":283479900,"node_id":"MDU6TGFiZWwyODM0Nzk5MDA=","url":"https://api.github.com/repos/flutter/flutter/labels/%E2%96%A3%20platform-android","name":"▣ platform-android","color":"003570","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-02-28T03:00:08Z","updated_at":"2018-06-26T09:28:40Z","closed_at":null,"author_association":"NONE","body":"## Steps to Reproduce\r\n\r\nWhen I run `flutter build apk` and `flutter run` I get \r\n\r\n    Error running Gradle:\r\n    Unable to download needed Android SDK components, as the following licenses have not been accepted:\r\n    Android SDK Build-Tools 26.0.2, Android SDK Platform 27\r\n    To resolve this, please run the following command in a Terminal:\r\n    flutter doctor --android-licenses\r\n\r\n\r\nBut `flutter doctor --android-licenses` says \r\n\r\n     Warning: File /home/user/.android/repositories.cfg could not be loaded.         \r\n     All SDK package licenses accepted.======] 100% Computing updates... \r\n\r\nSo it looks like all license agreements were accepted. PS. I can build Android Apps in Android Studio.\r\n\r\n## Flutter Doctor\r\n\r\n    Flutter (on Linux, locale en_US.UTF-8, channel beta)\r\n        • Flutter version 0.1.4 at /home/user/Downloads/flutter\r\n        • Framework revision f914e701c5 (8 days ago), 2018-02-19 21:12:17 +0000\r\n        • Engine revision 13cf22c284\r\n        • Dart version 2.0.0-dev.27.0-flutter-0d5cf900b0\r\n       ✗ Downloaded executables cannot execute on host (see https://github.com/flutter/flutter/issues/6207 for more information)\r\n\r\n\r\n> For more information about diagnosing and reporting Flutter bugs, please see [https://flutter.io/bug-reports/](https://flutter.io/bug-reports/).\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/400243376","html_url":"https://github.com/flutter/flutter/issues/14942#issuecomment-400243376","issue_url":"https://api.github.com/repos/flutter/flutter/issues/14942","id":400243376,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDI0MzM3Ng==","user":{"login":"zoechi","id":405837,"node_id":"MDQ6VXNlcjQwNTgzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/405837?v=4","gravatar_id":"","url":"https://api.github.com/users/zoechi","html_url":"https://github.com/zoechi","followers_url":"https://api.github.com/users/zoechi/followers","following_url":"https://api.github.com/users/zoechi/following{/other_user}","gists_url":"https://api.github.com/users/zoechi/gists{/gist_id}","starred_url":"https://api.github.com/users/zoechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoechi/subscriptions","organizations_url":"https://api.github.com/users/zoechi/orgs","repos_url":"https://api.github.com/users/zoechi/repos","events_url":"https://api.github.com/users/zoechi/events{/privacy}","received_events_url":"https://api.github.com/users/zoechi/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T09:28:40Z","updated_at":"2018-06-26T09:28:40Z","author_association":"CONTRIBUTOR","body":"@Wryhder https://unix.stackexchange.com/questions/245772/why-running-command-as-sudo-returns-command-not-found\r\nYou can also check https://stackoverflow.com/questions/39760172/you-have-not-accepted-the-license-agreements-of-the-following-sdk-components but this might have changed since the answers were posted, but I think it's worth a try."}}
{"actor":{"display_login":"zoechi"}}