{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/1726","repository_url":"https://api.github.com/repos/ionic-team/ionic-cli","labels_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/1726/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/1726/comments","events_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/1726/events","html_url":"https://github.com/ionic-team/ionic-cli/issues/1726","id":191802735,"node_id":"MDU6SXNzdWUxOTE4MDI3MzU=","number":1726,"title":"You have not accepted the license agreements of the following SDK components: [Google Repository].","user":{"login":"muzammilahmed","id":9108573,"node_id":"MDQ6VXNlcjkxMDg1NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/9108573?v=4","gravatar_id":"","url":"https://api.github.com/users/muzammilahmed","html_url":"https://github.com/muzammilahmed","followers_url":"https://api.github.com/users/muzammilahmed/followers","following_url":"https://api.github.com/users/muzammilahmed/following{/other_user}","gists_url":"https://api.github.com/users/muzammilahmed/gists{/gist_id}","starred_url":"https://api.github.com/users/muzammilahmed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muzammilahmed/subscriptions","organizations_url":"https://api.github.com/users/muzammilahmed/orgs","repos_url":"https://api.github.com/users/muzammilahmed/repos","events_url":"https://api.github.com/users/muzammilahmed/events{/privacy}","received_events_url":"https://api.github.com/users/muzammilahmed/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-11-26T12:03:13Z","updated_at":"2018-07-20T03:00:04Z","closed_at":"2017-12-16T23:35:25Z","author_association":"NONE","body":"I'm using cordova push plugin plugin for push notifications I've installed google repository and google play services packages from android SDK manager., but when ever I execute ionic build android to create build its gives me following error.\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 13.856 secs\r\n\r\n* What went wrong:\r\nA problem occurred configuring root project 'android'.\r\n> You have not accepted the license agreements of the following SDK components:\r\n[Google Repository].\r\nBefore building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.\r\nAlternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nError: cmd: Command failed with exit code 1 Error output:\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nA problem occurred configuring root project 'android'.\r\n> You have not accepted the license agreements of the following SDK components:\r\n[Google Repository].\r\nBefore building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.\r\nAlternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output."},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/comments/406474798","html_url":"https://github.com/ionic-team/ionic-cli/issues/1726#issuecomment-406474798","issue_url":"https://api.github.com/repos/ionic-team/ionic-cli/issues/1726","id":406474798,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjQ3NDc5OA==","user":{"login":"joese6","id":41458819,"node_id":"MDQ6VXNlcjQxNDU4ODE5","avatar_url":"https://avatars0.githubusercontent.com/u/41458819?v=4","gravatar_id":"","url":"https://api.github.com/users/joese6","html_url":"https://github.com/joese6","followers_url":"https://api.github.com/users/joese6/followers","following_url":"https://api.github.com/users/joese6/following{/other_user}","gists_url":"https://api.github.com/users/joese6/gists{/gist_id}","starred_url":"https://api.github.com/users/joese6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joese6/subscriptions","organizations_url":"https://api.github.com/users/joese6/orgs","repos_url":"https://api.github.com/users/joese6/repos","events_url":"https://api.github.com/users/joese6/events{/privacy}","received_events_url":"https://api.github.com/users/joese6/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T03:00:04Z","updated_at":"2018-07-20T03:00:04Z","author_association":"NONE","body":"Open the \"sdkmanager.bat --update\" via command line then select \"Y\" , enter and wait until finish.\r\nas and example, I use the command line to enter the directory : \"E:\\android-sdk_r24.4.1-windows\\android-sdk-windows\\tools\\bin\"\r\nthen i type : sdkmanager.bat --update\r\n\r\nI hope this helps."}}
{"actor":{"display_login":"joese6"}}