Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13577

bug with ionic cordova emulate android

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • cordova@7.0.0
    • None
    • cordova-android
    • None
    • 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:

      { 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

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            godefroid gilles Godefroid
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: