-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
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:/usr/bin:/usr/sbin:/usr/local/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin:/Work/Maven/bin
VCHIMEVMAC:nativescript-cli-tests vchimev$ node_modules/.bin/tns run android --emulator --path TNS_App --log trace
execFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb "help"
spawn: /Users/vchimev/Library/Android/sdk/tools/android "--help"
Usage:
android [global options] action [action options]
Global options:
-s --silent : Silent mode, shows errors only.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-h --help : Help on a specific command.
Valid
actions
are
composed
of a verb
and an
optional
direct
object:
- sdk : Displays the SDK Manager window.
- avd : Displays the AVD Manager window.
- list : Lists existing targets or virtual devices.
- list avd : Lists existing Android Virtual Devices.
- list target : Lists existing targets.
- list device : Lists existing devices.
- list sdk : Lists remote SDK repository.
- create avd : Creates a new Android Virtual Device.
- move avd : Moves or renames an Android Virtual Device.
- delete avd : Deletes an Android Virtual Device.
- update avd : Updates an Android Virtual Device to match the folders
of a new SDK.
- create project : Creates a new Android project.
- update project : Updates an Android project (must already have an
AndroidManifest.xml).
- create test-project : Creates a new Android project for a test package.
- update test-project : Updates the Android project for a test package (must
already have an AndroidManifest.xml).
- create lib-project : Creates a new Android library project.
- update lib-project : Updates an Android library project (must already have
an AndroidManifest.xml).
- create uitest-project: Creates a new UI test project.
- update adb : Updates adb to support the USB devices declared in the
SDK add-ons.
- update sdk : Updates the SDK by suggesting new platforms to install
if available.
Exec uname -a
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
stderr:
Exec npm -v
stdout: 3.3.9
stderr:
spawn: java "-version"
Exec node-gyp -v
stdout:
stderr: /bin/sh: node-gyp: command not found
Exec xcodebuild -version
stdout: Xcode 7.1
Build version 7B91b
stderr:
Exec pod --version
stdout: 0.39.0
stderr:
Exec '/Users/vchimev/Library/Android/sdk/platform-tools/adb' version
stdout: Android Debug Bridge version 1.0.32
Revision 57224c5cff69-android
stderr:
spawn: /Users/vchimev/Library/Android/sdk/tools/android "-h"
Exec mono --version
stdout:
stderr: /bin/sh: mono: command not found
Exec git --version
stdout: git version 2.4.9 (Apple Git-60)
stderr:
Exec gradle -v
stdout:
stderr: /bin/sh: gradle: command not found
Exec "/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/javac" -version
stdout:
stderr: javac 1.8.0_60
System information:
{ procInfo: 'nativescript/1.5.0',
platform: 'darwin',
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',
shell: '/bin/bash',
dotNetVer: null,
procArch: 'x64',
nodeVer: 'v4.2.1',
npmVer: '3.3.9',
javaVer: '1.8.0',
nodeGypVer: null,
xcodeVer: 'Xcode 7.1\nBuild version 7B91b\n',
itunesInstalled: true,
cocoapodVer: '0.39.0\n',
adbVer: 'Android Debug Bridge version 1.0.32',
androidInstalled: true,
monoVer: null,
gitVer: '2.4.9 (Apple Git-60)',
gradleVer: null,
javacVersion: '1.8.0_60' }
Initializing analytics statuses.
Analytics statuses:
{ TrackFeatureUsage: 0, TrackExceptions: 1 }
Trying to track feature 'CLI' with value 'run'.
AnalyticsInstallationID: 04f8d0fe-f85b-4b97-a0c4-540181d9dbb3
monitor not started
monitor not started
monitor has started, connecting to http://5752dabccfc54c4ab82aea9626b7338e.monitor-eqatec.com/json.ashx
execFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb "help"
spawn: /Users/vchimev/Library/Android/sdk/platform-tools/adb "start-server"
Looking for project in '/Work/GitHub/nativescript-cli-tests/TNS_App'
Project directory is '/Work/GitHub/nativescript-cli-tests/TNS_App'.
Analytics statuses:
{ TrackFeatureUsage: 0, TrackExceptions: 1 }
Trying to track feature 'CLI' with value 'run|android'.
Statistics was sent successfully (xhr).
spawn: emulator "-help"
execFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb "devices"
Starting Android emulator with image Api23
spawn: emulator "-avd" "Api23"
execFile: /Users/vchimev/Library/Android/sdk/platform-tools/adb "devices"
Error: spawn emulator ENOENT
at exports._errnoException (util.js:874:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:439:9)
at process._tickCallback (node.js:353:17)
VCHIMEVMAC:nativescript-cli-tests vchimev$
Reactions are currently unavailable