{"action":"created","issue":{"url":"https://api.github.com/repos/telerik/mobile-cli-lib/issues/672","repository_url":"https://api.github.com/repos/telerik/mobile-cli-lib","labels_url":"https://api.github.com/repos/telerik/mobile-cli-lib/issues/672/labels{/name}","comments_url":"https://api.github.com/repos/telerik/mobile-cli-lib/issues/672/comments","events_url":"https://api.github.com/repos/telerik/mobile-cli-lib/issues/672/events","html_url":"https://github.com/telerik/mobile-cli-lib/pull/672","id":154840502,"number":672,"title":"Fix Android device detection when adb is not in the PATH","user":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/telerik/mobile-cli-lib/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"rosen-vladimirov","id":8351653,"avatar_url":"https://avatars.githubusercontent.com/u/8351653?v=3","gravatar_id":"","url":"https://api.github.com/users/rosen-vladimirov","html_url":"https://github.com/rosen-vladimirov","followers_url":"https://api.github.com/users/rosen-vladimirov/followers","following_url":"https://api.github.com/users/rosen-vladimirov/following{/other_user}","gists_url":"https://api.github.com/users/rosen-vladimirov/gists{/gist_id}","starred_url":"https://api.github.com/users/rosen-vladimirov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosen-vladimirov/subscriptions","organizations_url":"https://api.github.com/users/rosen-vladimirov/orgs","repos_url":"https://api.github.com/users/rosen-vladimirov/repos","events_url":"https://api.github.com/users/rosen-vladimirov/events{/privacy}","received_events_url":"https://api.github.com/users/rosen-vladimirov/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-14T07:55:12Z","updated_at":"2016-05-14T08:07:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/telerik/mobile-cli-lib/pulls/672","html_url":"https://github.com/telerik/mobile-cli-lib/pull/672","diff_url":"https://github.com/telerik/mobile-cli-lib/pull/672.diff","patch_url":"https://github.com/telerik/mobile-cli-lib/pull/672.patch"},"body":"When adb is not in the PATH, common lib is trying to spawn it's private adb, which leads to recursion errors.\r\nMake sure to spawn our own adb in this cases.\r\nAlso prevent shelljs cp errors by skipping new copy of files in case they are already there.\r\nPrevent shelljs.chmod errors on Windows - we do not need to chmod on Windows.\r\n\r\n### Update adb\r\nUse latest official adb version from Android Platform Tools 23.1\r\nAndroid Debug Bridge version 1.0.32\r\nRevision 09a0d98bebce-android\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/telerik/mobile-cli-lib/issues/comments/219207380","html_url":"https://github.com/telerik/mobile-cli-lib/pull/672#issuecomment-219207380","issue_url":"https://api.github.com/repos/telerik/mobile-cli-lib/issues/672","id":219207380,"user":{"login":"Mitko-Kerezov","id":6683316,"avatar_url":"https://avatars.githubusercontent.com/u/6683316?v=3","gravatar_id":"","url":"https://api.github.com/users/Mitko-Kerezov","html_url":"https://github.com/Mitko-Kerezov","followers_url":"https://api.github.com/users/Mitko-Kerezov/followers","following_url":"https://api.github.com/users/Mitko-Kerezov/following{/other_user}","gists_url":"https://api.github.com/users/Mitko-Kerezov/gists{/gist_id}","starred_url":"https://api.github.com/users/Mitko-Kerezov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mitko-Kerezov/subscriptions","organizations_url":"https://api.github.com/users/Mitko-Kerezov/orgs","repos_url":"https://api.github.com/users/Mitko-Kerezov/repos","events_url":"https://api.github.com/users/Mitko-Kerezov/events{/privacy}","received_events_url":"https://api.github.com/users/Mitko-Kerezov/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T08:07:12Z","updated_at":"2016-05-14T08:07:12Z","body":":+1: "}}