{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/183","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/183/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/183/events","html_url":"https://github.com/NativeScript/nativescript-cli/pull/183","id":54460742,"number":183,"title":"Allow updating target android sdk during \"platform add\"","user":{"login":"teobugslayer","id":5443453,"avatar_url":"https://avatars.githubusercontent.com/u/5443453?v=3","gravatar_id":"","url":"https://api.github.com/users/teobugslayer","html_url":"https://github.com/teobugslayer","followers_url":"https://api.github.com/users/teobugslayer/followers","following_url":"https://api.github.com/users/teobugslayer/following{/other_user}","gists_url":"https://api.github.com/users/teobugslayer/gists{/gist_id}","starred_url":"https://api.github.com/users/teobugslayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teobugslayer/subscriptions","organizations_url":"https://api.github.com/users/teobugslayer/orgs","repos_url":"https://api.github.com/users/teobugslayer/repos","events_url":"https://api.github.com/users/teobugslayer/events{/privacy}","received_events_url":"https://api.github.com/users/teobugslayer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/1+-+In+Progress","name":"1 - In Progress","color":"fef2c0"},{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"teobugslayer","id":5443453,"avatar_url":"https://avatars.githubusercontent.com/u/5443453?v=3","gravatar_id":"","url":"https://api.github.com/users/teobugslayer","html_url":"https://github.com/teobugslayer","followers_url":"https://api.github.com/users/teobugslayer/followers","following_url":"https://api.github.com/users/teobugslayer/following{/other_user}","gists_url":"https://api.github.com/users/teobugslayer/gists{/gist_id}","starred_url":"https://api.github.com/users/teobugslayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teobugslayer/subscriptions","organizations_url":"https://api.github.com/users/teobugslayer/orgs","repos_url":"https://api.github.com/users/teobugslayer/repos","events_url":"https://api.github.com/users/teobugslayer/events{/privacy}","received_events_url":"https://api.github.com/users/teobugslayer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/4","labels_url":"https://api.github.com/repos/NativeScript/nativescript-cli/milestones/4/labels","id":931317,"number":4,"title":"v0.5","description":"","creator":{"login":"teobugslayer","id":5443453,"avatar_url":"https://avatars.githubusercontent.com/u/5443453?v=3","gravatar_id":"","url":"https://api.github.com/users/teobugslayer","html_url":"https://github.com/teobugslayer","followers_url":"https://api.github.com/users/teobugslayer/followers","following_url":"https://api.github.com/users/teobugslayer/following{/other_user}","gists_url":"https://api.github.com/users/teobugslayer/gists{/gist_id}","starred_url":"https://api.github.com/users/teobugslayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teobugslayer/subscriptions","organizations_url":"https://api.github.com/users/teobugslayer/orgs","repos_url":"https://api.github.com/users/teobugslayer/repos","events_url":"https://api.github.com/users/teobugslayer/events{/privacy}","received_events_url":"https://api.github.com/users/teobugslayer/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-01-12T11:05:57Z","updated_at":"2015-01-15T15:19:37Z","due_on":"2015-01-29T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-01-15T15:19:08Z","updated_at":"2015-01-15T15:19:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/pulls/183","html_url":"https://github.com/NativeScript/nativescript-cli/pull/183","diff_url":"https://github.com/NativeScript/nativescript-cli/pull/183.diff","patch_url":"https://github.com/NativeScript/nativescript-cli/pull/183.patch"},"body":"The tns-android template uses by default sdk 17. If the user does not have it installed, we try to update it.\r\nTo do so safely, we have a white list of well-tested sdks. We match the white list with the installed sdks and take the newest one.\r\n\r\nThis commit depends on https://github.com/telerik/tns-android/commit/990f725d845364e33ca77d4e54212e0c2342bc55\r\n\r\nImplements https://github.com/NativeScript/nativescript-cli/issues/173"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/comments/70100821","html_url":"https://github.com/NativeScript/nativescript-cli/pull/183#issuecomment-70100821","issue_url":"https://api.github.com/repos/NativeScript/nativescript-cli/issues/183","id":70100821,"user":{"login":"ns-bot","id":8101183,"avatar_url":"https://avatars.githubusercontent.com/u/8101183?v=3","gravatar_id":"","url":"https://api.github.com/users/ns-bot","html_url":"https://github.com/ns-bot","followers_url":"https://api.github.com/users/ns-bot/followers","following_url":"https://api.github.com/users/ns-bot/following{/other_user}","gists_url":"https://api.github.com/users/ns-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/ns-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ns-bot/subscriptions","organizations_url":"https://api.github.com/users/ns-bot/orgs","repos_url":"https://api.github.com/users/ns-bot/repos","events_url":"https://api.github.com/users/ns-bot/events{/privacy}","received_events_url":"https://api.github.com/users/ns-bot/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T15:19:53Z","updated_at":"2015-01-15T15:19:53Z","body":"Test PASSed."}}