Error doing ionic cordova emulate android

1

I created a new ionic application

ionic start test blank

Without modifying anything, I try to emulate it for Android

ionic cordova emulate android

The console output is

Running app-scripts build: --address 0.0.0.0 --port 8100 --p 8100 --livereload-
ort 35729 --r 35729 --iscordovaserve --externalIpRequired --nobrowser

[12:21:29]  build dev started ...
[12:21:29]  clean started ...
[12:21:29]  clean finished in 4 ms
[12:21:29]  copy started ...
[12:21:29]  transpile started ...
[12:21:31]  transpile finished in 2.53 s
[12:21:32]  preprocess started ...
[12:21:32]  deeplinks started ...
[12:21:32]  deeplinks finished in 9 ms
[12:21:32]  preprocess finished in 10 ms
[12:21:32]  webpack started ...
[12:21:32]  copy finished in 2.72 s
[12:21:40]  webpack finished in 8.93 s
[12:21:40]  sass started ...
[12:21:41]  sass finished in 877 ms
[12:21:41]  postprocess started ...
[12:21:41]  postprocess finished in 11 ms
[12:21:41]  lint started ...
[12:21:41]  build dev finished in 12.40 s
> cordova emulate android
ANDROID_HOME=C:\Desarrollo\Android\adt-bundle-windows-x86_64-20140702\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_25
Error: Cannot read property 'length' of undefined


[ERROR] Cordova encountered an error.
        You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova emulate android (exit code 1).

Any idea what may be happening? The same thing happens to me with another application (I created this empty to see if it also happened without changing anything). The error is the same if I throw ionic cordova run android

  • ionic 3.1.2
  • cordova 7.0.1
  • npm 3.10.9
asked by pablo 20.05.2017 в 12:33
source

0 answers