{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5710","labels_url":"https://api.github.com/repos/appium/appium/issues/5710/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5710/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5710/events","html_url":"https://github.com/appium/appium/issues/5710","id":110889210,"number":5710,"title":"Installing Appium 1.4.13 via ./reset.sh Fails for Android - Getting Error Target id is not valid. Use 'android list targets' to get the target ids ","user":{"login":"seleniumappiumnewbie","id":14364579,"avatar_url":"https://avatars.githubusercontent.com/u/14364579?v=3","gravatar_id":"","url":"https://api.github.com/users/seleniumappiumnewbie","html_url":"https://github.com/seleniumappiumnewbie","followers_url":"https://api.github.com/users/seleniumappiumnewbie/followers","following_url":"https://api.github.com/users/seleniumappiumnewbie/following{/other_user}","gists_url":"https://api.github.com/users/seleniumappiumnewbie/gists{/gist_id}","starred_url":"https://api.github.com/users/seleniumappiumnewbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seleniumappiumnewbie/subscriptions","organizations_url":"https://api.github.com/users/seleniumappiumnewbie/orgs","repos_url":"https://api.github.com/users/seleniumappiumnewbie/repos","events_url":"https://api.github.com/users/seleniumappiumnewbie/events{/privacy}","received_events_url":"https://api.github.com/users/seleniumappiumnewbie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-11T23:45:00Z","updated_at":"2015-10-13T15:19:27Z","closed_at":null,"body":"    Issue - Installing Appium 1.4.13 via ./reset.sh Fails for Android - Getting Error Target id is not valid. \r\n    Use 'android list targets' to get the target ids \r\n\r\n    Environment: Mac El Capitan, Xcode 7.0.1, Appium 1.4.13\r\n\r\n    Steps:\r\n    Setup: Installed Android Studio and setup Android path variable already\r\n    1. Type git clone https://github.com/appium/appium.git\r\n    2. Ran ./reset.sh --android --verbose (Android only) or ./reset.sh --verbose (Mac and Android)\r\n    3. I get this error and I have already created AVDs for the 4 android targets I have.\r\n\r\n    Actual Results:\r\n    RESETTING ANDROID\r\n    * Configuring Android bootstrap\r\n    Running \"configAndroidBootstrap\" task\r\n    Error: Target id is not valid. Use 'android list targets' to get the target ids.\r\n    Warning: Setup cmd /Users/mac/Documents/android-sdk-macosx/tools/android failed \r\n    with code 1 Use --force to continue.\r\n\r\n    Expected Results:\r\n    To be able to install Appium for Android using ./reset.sh correctly without errors.\r\n\r\nNote: I can install successfully via npm install -g appium, but not with ./reset.sh from git clone. \r\n\r\nI'm trying to use one type of install to get both iOS and Android to work. \r\n\r\nIf I install appium via cloning Git using ./reset.sh , I have issue with installing for Android and it gives error when running iOS Simulators, but runs fine with a real iPhone Device. \r\n\r\nIf I install appium via npm, I have issue with it not installing SafariLauncher properly for real iOS device, gets error with iOS simulators, and getting an error with running on real Android device, but it runs fine with Android Simulators."},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/147747821","html_url":"https://github.com/appium/appium/issues/5710#issuecomment-147747821","issue_url":"https://api.github.com/repos/appium/appium/issues/5710","id":147747821,"user":{"login":"imurchie","id":2614354,"avatar_url":"https://avatars.githubusercontent.com/u/2614354?v=3","gravatar_id":"","url":"https://api.github.com/users/imurchie","html_url":"https://github.com/imurchie","followers_url":"https://api.github.com/users/imurchie/followers","following_url":"https://api.github.com/users/imurchie/following{/other_user}","gists_url":"https://api.github.com/users/imurchie/gists{/gist_id}","starred_url":"https://api.github.com/users/imurchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imurchie/subscriptions","organizations_url":"https://api.github.com/users/imurchie/orgs","repos_url":"https://api.github.com/users/imurchie/repos","events_url":"https://api.github.com/users/imurchie/events{/privacy}","received_events_url":"https://api.github.com/users/imurchie/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T15:19:27Z","updated_at":"2015-10-13T15:19:27Z","body":"Do you have everything installed? Try running `./bin/appium-doctor.js` to see if there is anything missing that that tool catches. \r\n\r\nYou installed Maven. Did you add it to your path, so that `mvn` works?\r\n\r\nFurther, to bypass Selendroid building, and use a pre-built version downloaded from the internet, run `reset.sh` with the `--selendroid-quick` command line argument."}}