gilles Godefroid created CB-13577:
-------------------------------------

             Summary: bug with ionic cordova emulate android
                 Key: CB-13577
                 URL: https://issues.apache.org/jira/browse/CB-13577
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-android
    Affects Versions: [email protected]
         Environment: 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

            Reporter: gilles Godefroid
            Assignee: Joe Bowser


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: { interactive: true, confirm: false }
[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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to