Ionic project does not run on android

0

I'm trying to run an ionic project on android but when I run ionic run android it returns an exception.

How to solve?

Ionic info

Your system information:

Cordova CLI: 5.3.3
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.7
Ionic App Lib Version: 0.6.3
OS: Windows 7
Node Version: v4.2.2

Excess

    
asked by anonymous 05.11.2015 / 22:18

1 answer

0

Time wasted on searching for your device, you can manually increase this time (not recommended), with me it worked.

platforms \ android \ cordova \ node_modules \ q \ q.js

Locate this code snippet

if (!error || "string" === typeof error) {
  error = new Error(error || "Timed out after " + ms + " ms");
  error.code = "ETIMEDOUT";
}
  deferred.reject(error);
}, ms);

replace the ms

if (!error || "string" === typeof error) {
  error = new Error(error || "Timed out after " + ms + " ms");
  error.code = "ETIMEDOUT";
}
  deferred.reject(error);
}, "1600");
    
14.05.2016 / 07:00