diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js index 36aee6c069..e199239db1 100644 --- a/bin/templates/cordova/lib/build.js +++ b/bin/templates/cordova/lib/build.js @@ -210,7 +210,7 @@ module.exports.detectArchitecture = function (target) { // To fix it, either unplug & replug device, or restart adb server. return Promise.race([ helper(), - timeout(1000, new CordovaError( + timeout(5000, new CordovaError( 'Device communication timed out. Try unplugging & replugging the device.' )) ]).catch(err => {