{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/3370","labels_url":"https://api.github.com/repos/meteor/meteor/issues/3370/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/3370/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/3370/events","html_url":"https://github.com/meteor/meteor/issues/3370","id":52872566,"number":3370,"title":"Using already installed android sdk isn't recognized when adding it to app","user":{"login":"petrivoges","id":2161621,"avatar_url":"https://avatars.githubusercontent.com/u/2161621?v=3","gravatar_id":"","url":"https://api.github.com/users/petrivoges","html_url":"https://github.com/petrivoges","followers_url":"https://api.github.com/users/petrivoges/followers","following_url":"https://api.github.com/users/petrivoges/following{/other_user}","gists_url":"https://api.github.com/users/petrivoges/gists{/gist_id}","starred_url":"https://api.github.com/users/petrivoges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrivoges/subscriptions","organizations_url":"https://api.github.com/users/petrivoges/orgs","repos_url":"https://api.github.com/users/petrivoges/repos","events_url":"https://api.github.com/users/petrivoges/events{/privacy}","received_events_url":"https://api.github.com/users/petrivoges/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mobile","name":"Project:Mobile","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-12-25T21:17:41Z","updated_at":"2015-04-12T18:58:29Z","closed_at":"2015-01-16T01:09:37Z","body":"```\r\nenv USE_GLOBAL_ADK=t meteor --verbose install-sdk android\r\nRunning command  which android\r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\n✓ Found Android SDK                           \r\nRunning command  which ant                    \r\n✓ Found ant on PATH                           \r\nRunning command  which jarsigner              \r\n✓ A JDK is installed                          \r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\n✓ Found Android Platform tools                \r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\n✓ Found Android Build Tools                   \r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\nRunning command                               \r\nPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin:/home/petrivoges/sdk/tools:/home/petrivoges/sdk/platform-tools:/home/petrivoges/sdk/tools:/home/petrivoges/sdk/platform-tools\r\n/home/petrivoges/sdk/build-tools/21.0.0/aapt version\r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\n✓ Found Android 19 API                        \r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\nRunning command                               \r\nPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin:/home/petrivoges/sdk/tools:/home/petrivoges/sdk/platform-tools:/home/petrivoges/sdk/tools:/home/petrivoges/sdk/platform-tools\r\n/home/petrivoges/sdk/tools/android list target\r\n✓ Found suitable Android x86 image            \r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\nRunning command  which android                \r\nUsing (global) Android SDK at /home/petrivoges/sdk\r\nRunning command                               \r\nPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin:/home/petrivoges/sdk/tools:/home/petrivoges/sdk/platform-tools:/home/petrivoges/sdk/tools:/home/petrivoges/sdk/platform-tools\r\n/home/petrivoges/sdk/tools/android list avd --compact\r\nFound AVDS: [ 'meteor', 'Nexus_5_API_21_x86', 'NexusS', '' ]\r\n✓ 'meteor' android virtual device (AVD) found \r\nFound /dev/kvm                                \r\n✓ Android emulator acceleration is installed\r\n\r\nmeteor add-platform android\r\nThe Android platform is not installed; please run: meteor install-sdk android\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/92100426","html_url":"https://github.com/meteor/meteor/issues/3370#issuecomment-92100426","issue_url":"https://api.github.com/repos/meteor/meteor/issues/3370","id":92100426,"user":{"login":"webveloper","id":491487,"avatar_url":"https://avatars.githubusercontent.com/u/491487?v=3","gravatar_id":"","url":"https://api.github.com/users/webveloper","html_url":"https://github.com/webveloper","followers_url":"https://api.github.com/users/webveloper/followers","following_url":"https://api.github.com/users/webveloper/following{/other_user}","gists_url":"https://api.github.com/users/webveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/webveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webveloper/subscriptions","organizations_url":"https://api.github.com/users/webveloper/orgs","repos_url":"https://api.github.com/users/webveloper/repos","events_url":"https://api.github.com/users/webveloper/events{/privacy}","received_events_url":"https://api.github.com/users/webveloper/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T18:58:29Z","updated_at":"2015-04-12T18:58:29Z","body":"Something like?  Or exactly that?  Is `t` a magical variable (`echo $t` returns nothing) or should we put ANDROID_HOME (or the actual SDK path) in its place?"}}