{"action":"opened","issue":{"url":"https://api.github.com/repos/arunoda/meteor-up/issues/730","labels_url":"https://api.github.com/repos/arunoda/meteor-up/issues/730/labels{/name}","comments_url":"https://api.github.com/repos/arunoda/meteor-up/issues/730/comments","events_url":"https://api.github.com/repos/arunoda/meteor-up/issues/730/events","html_url":"https://github.com/arunoda/meteor-up/issues/730","id":114558644,"number":730,"title":"Failed to find 'ANDROID_HOME' environment variable","user":{"login":"elnzv","id":7489044,"avatar_url":"https://avatars.githubusercontent.com/u/7489044?v=3","gravatar_id":"","url":"https://api.github.com/users/elnzv","html_url":"https://github.com/elnzv","followers_url":"https://api.github.com/users/elnzv/followers","following_url":"https://api.github.com/users/elnzv/following{/other_user}","gists_url":"https://api.github.com/users/elnzv/gists{/gist_id}","starred_url":"https://api.github.com/users/elnzv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elnzv/subscriptions","organizations_url":"https://api.github.com/users/elnzv/orgs","repos_url":"https://api.github.com/users/elnzv/repos","events_url":"https://api.github.com/users/elnzv/events{/privacy}","received_events_url":"https://api.github.com/users/elnzv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-02T09:35:14Z","updated_at":"2015-11-02T09:35:14Z","closed_at":null,"body":"Having this error when trying to deploy using mupx.\r\nThe thing is that I am not using any buildOptions for android.\r\n\r\nBefore Meteor 1.2 update everything worked fine.\r\n\r\n```console\r\n------------------------------------------------\r\nConfiguration file : mup.json\r\nSettings file      : settings.json\r\n\r\n“ Checkout Kadira!\r\n  It's the best way to monitor performance of your app.\r\n  Visit: https://kadira.io/mup ”\r\n\r\nMeteor app path    : /home/xxx\r\nUsing buildOptions : {}\r\n=> Errors executing Cordova commands:\r\n\r\n   While building Cordova app for platform Android:\r\n   Error:\r\n   /home/xxx/.meteor/local/cordova-build/platforms/android/cordova/build:\r\n   Command failed with exit code 2 Error output:\r\n   [Error: Failed to find 'ANDROID_HOME' environment variable. Try setting\r\n   setting it manually.\r\n   Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to\r\n   include path to valid SDK directory.]\r\n   at ChildProcess.whenDone\r\n   (/home/.meteor/packages/meteor-tool/.1.1.9.hz7xuf++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)\r\n   at ChildProcess.emit (events.js:98:17)\r\n   at maybeClose (child_process.js:766:16)\r\n   at Process.ChildProcess._handle.onexit (child_process.js:833:5)\r\n   \r\n\r\n=> Build Error. Check the logs printed above.\r\n\r\n```\r\n\r\n"}}