Title: Unable to run app on Android emulator if platform-tools and tools are not added to PATH · Issue #1200 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Unable to run app on Android emulator if platform-tools and tools are not added to PATH · Issue #1200 · NativeScript/nativescript-cli
X Title: Unable to run app on Android emulator if platform-tools and tools are not added to PATH · Issue #1200 · NativeScript/nativescript-cli
Description: Tested against the release branch for 1.5 - ping @rosen-vladimirov. Output: VCHIMEVMAC:nativescript-cli-tests vchimev$ echo $ANDROID_HOME /Users/vchimev/Library/Android/sdk VCHIMEVMAC:nativescript-cli-tests vchimev$ echo $PATH /bin:/sbin...
Open Graph Description: Tested against the release branch for 1.5 - ping @rosen-vladimirov. Output: VCHIMEVMAC:nativescript-cli-tests vchimev$ echo $ANDROID_HOME /Users/vchimev/Library/Android/sdk VCHIMEVMAC:nativescript-...
X Description: Tested against the release branch for 1.5 - ping @rosen-vladimirov. Output: VCHIMEVMAC:nativescript-cli-tests vchimev$ echo $ANDROID_HOME /Users/vchimev/Library/Android/sdk VCHIMEVMAC:nativescript-...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/1200
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to run app on Android emulator if platform-tools and tools are not added to PATH","articleBody":"Tested against the release branch for 1.5 - ping @rosen-vladimirov.\n\nOutput:\n\n```\nVCHIMEVMAC:nativescript-cli-tests vchimev$ echo $ANDROID_HOME\n/Users/vchimev/Library/Android/sdk\nVCHIMEVMAC:nativescript-cli-tests vchimev$ echo $PATH\n/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin:/Work/Maven/bin\nVCHIMEVMAC:nativescript-cli-tests vchimev$ node_modules/.bin/tns run android --emulator --path TNS_App --log trace\nexecFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb \"help\"\nspawn: /Users/vchimev/Library/Android/sdk/tools/android \"--help\"\n\n Usage:\n android [global options] action [action options]\n Global options:\n -s --silent : Silent mode, shows errors only.\n -v --verbose : Verbose mode, shows errors, warnings and all messages.\n --clear-cache: Clear the SDK Manager repository manifest cache.\n -h --help : Help on a specific command.\n\n Valid\n actions\n are\n composed\n of a verb\n and an\n optional\n direct\n object:\n- sdk : Displays the SDK Manager window.\n- avd : Displays the AVD Manager window.\n- list : Lists existing targets or virtual devices.\n- list avd : Lists existing Android Virtual Devices.\n- list target : Lists existing targets.\n- list device : Lists existing devices.\n- list sdk : Lists remote SDK repository.\n- create avd : Creates a new Android Virtual Device.\n- move avd : Moves or renames an Android Virtual Device.\n- delete avd : Deletes an Android Virtual Device.\n- update avd : Updates an Android Virtual Device to match the folders\n of a new SDK.\n- create project : Creates a new Android project.\n- update project : Updates an Android project (must already have an\n AndroidManifest.xml).\n- create test-project : Creates a new Android project for a test package.\n- update test-project : Updates the Android project for a test package (must\n already have an AndroidManifest.xml).\n- create lib-project : Creates a new Android library project.\n- update lib-project : Updates an Android library project (must already have\n an AndroidManifest.xml).\n- create uitest-project: Creates a new UI test project.\n- update adb : Updates adb to support the USB devices declared in the\n SDK add-ons.\n- update sdk : Updates the SDK by suggesting new platforms to install\n if available.\n\nExec uname -a \n stdout: Darwin VCHIMEVMAC.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64\n\n stderr: \nExec npm -v \n stdout: 3.3.9\n\n stderr: \nspawn: java \"-version\"\nExec node-gyp -v \n stdout: \n stderr: /bin/sh: node-gyp: command not found\n\nExec xcodebuild -version \n stdout: Xcode 7.1\nBuild version 7B91b\n\n stderr: \nExec pod --version \n stdout: 0.39.0\n\n stderr: \nExec '/Users/vchimev/Library/Android/sdk/platform-tools/adb' version \n stdout: Android Debug Bridge version 1.0.32\nRevision 57224c5cff69-android\n\n stderr: \nspawn: /Users/vchimev/Library/Android/sdk/tools/android \"-h\"\nExec mono --version \n stdout: \n stderr: /bin/sh: mono: command not found\n\nExec git --version \n stdout: git version 2.4.9 (Apple Git-60)\n\n stderr: \nExec gradle -v \n stdout: \n stderr: /bin/sh: gradle: command not found\n\nExec \"/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/javac\" -version \n stdout: \n stderr: javac 1.8.0_60\n\nSystem information:\n{ procInfo: 'nativescript/1.5.0',\n platform: 'darwin',\n os: 'Darwin VCHIMEVMAC.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64\\n',\n shell: '/bin/bash',\n dotNetVer: null,\n procArch: 'x64',\n nodeVer: 'v4.2.1',\n npmVer: '3.3.9',\n javaVer: '1.8.0',\n nodeGypVer: null,\n xcodeVer: 'Xcode 7.1\\nBuild version 7B91b\\n',\n itunesInstalled: true,\n cocoapodVer: '0.39.0\\n',\n adbVer: 'Android Debug Bridge version 1.0.32',\n androidInstalled: true,\n monoVer: null,\n gitVer: '2.4.9 (Apple Git-60)',\n gradleVer: null,\n javacVersion: '1.8.0_60' }\nInitializing analytics statuses.\nAnalytics statuses: \n{ TrackFeatureUsage: 0, TrackExceptions: 1 }\nTrying to track feature 'CLI' with value 'run'.\nAnalyticsInstallationID: 04f8d0fe-f85b-4b97-a0c4-540181d9dbb3\nmonitor not started\nmonitor not started\nmonitor has started, connecting to http://5752dabccfc54c4ab82aea9626b7338e.monitor-eqatec.com/json.ashx\nexecFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb \"help\"\nspawn: /Users/vchimev/Library/Android/sdk/platform-tools/adb \"start-server\"\nLooking for project in '/Work/GitHub/nativescript-cli-tests/TNS_App'\nProject directory is '/Work/GitHub/nativescript-cli-tests/TNS_App'.\nAnalytics statuses: \n{ TrackFeatureUsage: 0, TrackExceptions: 1 }\nTrying to track feature 'CLI' with value 'run|android'.\nStatistics was sent successfully (xhr).\nspawn: emulator \"-help\"\nexecFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb \"devices\"\nStarting Android emulator with image Api23\nspawn: emulator \"-avd\" \"Api23\"\nexecFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb \"devices\"\nError: spawn emulator ENOENT\n at exports._errnoException (util.js:874:11)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)\n at onErrorNT (internal/child_process.js:344:16)\n at doNTCallback2 (node.js:439:9)\n at process._tickCallback (node.js:353:17)\nVCHIMEVMAC:nativescript-cli-tests vchimev$\n```\n","author":{"url":"https://github.com/vchimev","@type":"Person","name":"vchimev"},"datePublished":"2015-11-16T16:47:03Z","url":"https://github.com/NativeScript/nativescript-cli/issues/1200"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1026305d-4627-e62a-985f-be5c70a2cda5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9760:97D39:6A63A6:8CA7F7:6B01D74D |
| html-safe-nonce | 49e5c94fd490d65abfc401456e8df182a63cb04e87845366e28586b70fb93f29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzYwOjk3RDM5OjZBNjNBNjo4Q0E3Rjc6NkIwMUQ3NEQiLCJ2aXNpdG9yX2lkIjoiNDA4OTI3NTYzMTc0ODExMDE1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0fe6a11e7b2f2ee8dca12bc0019927d49ca07d9fa8f7133dab7d0b170f5e805a |
| hovercard-subject-tag | issue:117166952 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/1200/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b2d9e5ed2f493035ed8f475238f917b6a67e5292e7b5219057105f2930ecbc1/NativeScript/nativescript-cli/issues/1200 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b2d9e5ed2f493035ed8f475238f917b6a67e5292e7b5219057105f2930ecbc1/NativeScript/nativescript-cli/issues/1200 |
| og:image:alt | Tested against the release branch for 1.5 - ping @rosen-vladimirov. Output: VCHIMEVMAC:nativescript-cli-tests vchimev$ echo $ANDROID_HOME /Users/vchimev/Library/Android/sdk VCHIMEVMAC:nativescript-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vchimev |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width