Error: Device communication timed out

About the timeout, its simple to solve.

  1. Go to:
    \platforms\android\cordova\node_modules\q

  2. Locate:
    var timeoutId = setTimeout(function () {
    deferred.reject(new Error(message || “Timed out after " + ms + " ms”));
    }, ms);

  3. Change to:
    var timeoutId = setTimeout(function () {
    deferred.reject(new Error(message || “Timed out after " + ms + " ms”));
    }, 10000000);

  4. Run! You’ll see dependencies being installed. Thats why time was running out! #bug

  5. After all, you can undo the changes.

11 Likes