{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5249","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5249/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5249/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5249/events","html_url":"https://github.com/meteor/meteor/issues/5249","id":107857267,"number":5249,"title":"meteor run android-device does not find android-22 after upgrading to 1.2.0.1","user":{"login":"lorensr","id":251288,"avatar_url":"https://avatars.githubusercontent.com/u/251288?v=3","gravatar_id":"","url":"https://api.github.com/users/lorensr","html_url":"https://github.com/lorensr","followers_url":"https://api.github.com/users/lorensr/followers","following_url":"https://api.github.com/users/lorensr/following{/other_user}","gists_url":"https://api.github.com/users/lorensr/gists{/gist_id}","starred_url":"https://api.github.com/users/lorensr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorensr/subscriptions","organizations_url":"https://api.github.com/users/lorensr/orgs","repos_url":"https://api.github.com/users/lorensr/repos","events_url":"https://api.github.com/users/lorensr/events{/privacy}","received_events_url":"https://api.github.com/users/lorensr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-23T06:18:15Z","updated_at":"2015-09-23T08:03:56Z","closed_at":null,"body":"1 Updated to `1.2.0.1`\r\n2 Followed https://github.com/meteor/meteor/wiki/Mobile-Development-Install:-Android-on-Mac#installing-android-studio-and-completing-the-setup-wizard (including the android-22 step)\r\n3 Got this output:\r\n```\r\n$ meteor run android-device --verbose\r\nGetting installed version for platform android in Cordova project\r\nGetting installed version for platform ios in Cordova project\r\nChecking Cordova requirements for platform Android\r\n                                              \r\nYour system does not yet seem to fulfill all requirements to build apps for Android.\r\n                                              \r\nPlease follow the installation instructions here:\r\nhttps://github.com/meteor/meteor/wiki/Mobile-Development-Install:-Android-on-Mac\r\n                                              \r\nStatus of the requirements:                   \r\n✓ Java JDK                                    \r\n✓ Android SDK                                 \r\n✗ Android target: Please install Android target: \"android-22\".\r\n  \r\n  Hint: Open the SDK manager by running: /Users/me/.meteor/android_bundle/android-sdk/tools/android\r\n  You will require:\r\n  1. \"SDK Platform\" for android-22\r\n  2. \"Android SDK Platform-tools (latest)\r\n  3. \"Android SDK Build-tools\" (latest)\r\n✓ Gradle                                      \r\n```\r\n4 `rm -rf ~/.meteor/android_bundle`\r\n5 `meteor run android-device` no longer gives the above error\r\n\r\nA. Perhaps `~/.meteor/android_bundle` should be removed automatically? Related: #5150 \r\nB. The `Hint: Open the SDK manager by running: /Users/me/.meteor/android_bundle/android-sdk/tools/android` path should be updated."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/142524699","html_url":"https://github.com/meteor/meteor/issues/5249#issuecomment-142524699","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5249","id":142524699,"user":{"login":"lorensr","id":251288,"avatar_url":"https://avatars.githubusercontent.com/u/251288?v=3","gravatar_id":"","url":"https://api.github.com/users/lorensr","html_url":"https://github.com/lorensr","followers_url":"https://api.github.com/users/lorensr/followers","following_url":"https://api.github.com/users/lorensr/following{/other_user}","gists_url":"https://api.github.com/users/lorensr/gists{/gist_id}","starred_url":"https://api.github.com/users/lorensr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorensr/subscriptions","organizations_url":"https://api.github.com/users/lorensr/orgs","repos_url":"https://api.github.com/users/lorensr/repos","events_url":"https://api.github.com/users/lorensr/events{/privacy}","received_events_url":"https://api.github.com/users/lorensr/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T08:03:56Z","updated_at":"2015-09-23T08:03:56Z","body":"What happens when you do run android-device? Add-platform is deprecated\n\nOn Wednesday, September 23, 2015, jposor <notifications@github.com> wrote:\n\n> Same here with Ubuntu 14.04. Followed the installation instructions\n> https://github.com/meteor/meteor/wiki/Mobile-Development-Install:-Android-on-Linux\n>\n> I can build native apps with android studio so it seems like everything's\n> fine. ANDROID_HOME set properly and I added ANDROID_HOME/tools, and\n> ANDROID_HOME/platform-tools to my PATH.\n>\n> I tried rm -rf ~/.meteor/android_bundle\n>\n> I'm still receiving this when trying to sudo meteor add-platform android\n> --verbose:\n>\n> Adding platform Android to Cordova project\n> % Adding android project...\n> android: added platform\n> Checking Cordova requirements for platform Android\n>\n> Your system does not yet seem to fulfill all requirements to build apps for Android.\n>\n> Please follow the installation instructions here:https://github.com/meteor/meteor/wiki/Mobile-Development-Install:-Android-on-Linux\n>\n> Status of the requirements:\n> ✓ Java JDK\n> ✗ Android SDK: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.\n>   Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.\n> ✗ Android target: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.\n> ✗ Gradle: Could not find gradle wrapper within Android SDK. Could not find Android SDK directory.\n>   Might need to install Android SDK or set up 'ANDROID_HOME' env variable.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/meteor/meteor/issues/5249#issuecomment-142523647>.\n>\n"}}