Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
cordova@7.0.0
-
None
-
None
-
ionic info :
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.18.0
ionic (Ionic CLI) : 3.18.0global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.2
Cordova Platforms : android 6.3.0 ios 4.5.3
Ionic Framework : ionic-angular 3.9.2System:
ios-deploy : 1.9.2
ios-sim : 6.1.2
Node : v8.9.1
npm : 5.5.1
OS : macOS High Sierra
Xcode : Xcode 9.1 Build version 9B55Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
ionic info : cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.18.0 ionic (Ionic CLI) : 3.18.0 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.1.2 Cordova Platforms : android 6.3.0 ios 4.5.3 Ionic Framework : ionic-angular 3.9.2 System: ios-deploy : 1.9.2 ios-sim : 6.1.2 Node : v8.9.1 npm : 5.5.1 OS : macOS High Sierra Xcode : Xcode 9.1 Build version 9B55 Environment Variables: ANDROID_HOME : not set Misc: backend : pro
-
Important
Description
ionic cordova emulate android --list
> cordova run android --list --emulator
Available android virtual devices:
Nexus_5_API_26
Nexus_6_API_23
ionic cordova emulate android --verbose
[DEBUG] Reason for not using local CLI: LOCAL_CLI_NOT_FOUND
[DEBUG] CLI flags:
[DEBUG]
{ cwd: '/Users/gillesgodefroid/Documents/Ionic2Weather', local: false, binPath: '/usr/local/lib/node_modules/ionic/bin/ionic', libPath: '/usr/local/lib/node_modules/ionic/dist/index.js' }[DEBUG] Daemon found (pid: 2011)
Running app-scripts build: --platform android --target cordova
[16:48:26] build dev started ...
[16:48:26] clean started ...
[16:48:26] clean finished in 122 ms
[16:48:26] copy started ...
[16:48:27] deeplinks started ...
[16:48:27] deeplinks finished in 27 ms
[16:48:27] transpile started ...
[16:48:42] transpile finished in 14.95 s
[16:48:42] preprocess started ...
[16:48:42] preprocess finished in 4 ms
[16:48:42] webpack started ...
[16:48:44] copy finished in 17.39 s
[16:48:52] webpack finished in 10.10 s
[16:48:52] sass started ...
[16:48:59] sass finished in 7.02 s
[16:48:59] postprocess started ...
[16:48:59] postprocess finished in 11 ms
[16:48:59] lint started ...
[16:48:59] build dev finished in 33.20 s
> cordova emulate android
[16:49:02] lint finished in 2.72 s
ANDROID_HOME=/Users/gillesgodefroid/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home
Error: spawn EACCES
[ERROR] An error occurred while running cordova emulate android (exit code 1).
[DEBUG] registerShutdownFunction process.exit/normal shutdown