From 715ce2f9acaae001daee33e1c129c418c246f19e Mon Sep 17 00:00:00 2001 From: Keith Lord Date: Fri, 18 Jan 2019 15:24:28 -0500 Subject: [PATCH] Update emulator.js to fix issue #608 (#630) Fixes "Device still authorizing issue" #608 (https://github.com/apache/cordova-android/issues/608) Resolves #608 --- bin/templates/cordova/lib/emulator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/templates/cordova/lib/emulator.js b/bin/templates/cordova/lib/emulator.js index 7afc48aa..fcdc1704 100644 --- a/bin/templates/cordova/lib/emulator.js +++ b/bin/templates/cordova/lib/emulator.js @@ -340,7 +340,8 @@ module.exports.wait_for_emulator = function (port) { if ((error && error.message && (error.message.indexOf('not found') > -1)) || (error.message.indexOf('device offline') > -1) || - (error.message.indexOf('device still connecting') > -1)) { + (error.message.indexOf('device still connecting') > -1) || + (error.message.indexOf('device still authorizing') > -1)) { // emulator not yet started, continue waiting return self.wait_for_emulator(port); } else {