You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2017/11/15 20:17:00 UTC

[jira] [Comment Edited] (CB-13577) bug with ionic cordova emulate android

    [ https://issues.apache.org/jira/browse/CB-13577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254079#comment-16254079 ] 

Jan Piotrowski (Sujan) edited comment on CB-13577 at 11/15/17 8:16 PM:
-----------------------------------------------------------------------

Nothing to accept downstream - Ionic installs Cordova CLI and everything else directly via npm, so no "downstream". The user just has to update to current versions.

[~godefroid] best post this at https://forum.ionicframework.com/ where we can debug this step by step. Start by posting the same stuff you did here and add your `ionic info` output so we have some versions.


was (Author: sujan12):
Nothing to accept downstream - Ionic installs Cordova CLI and everything else directly from Cordova, so no "downstream". The user just has to update to current versions.

[~godefroid] best post this at https://forum.ionicframework.com/ where we can debug this step by step. Start by posting the same stuff you did here and add your `ionic info` output so we have some versions.

> 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: cordova@7.0.0
>         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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org