You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2019/01/18 20:24:32 UTC

[cordova-android] branch master updated: Update emulator.js to fix issue #608 (#630)

This is an automated email from the ASF dual-hosted git repository.

brodybits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git


The following commit(s) were added to refs/heads/master by this push:
     new 715ce2f  Update emulator.js to fix issue #608 (#630)
715ce2f is described below

commit 715ce2f9acaae001daee33e1c129c418c246f19e
Author: Keith Lord <mo...@yahoo.com>
AuthorDate: Fri Jan 18 15:24:28 2019 -0500

    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 7afc48a..fcdc170 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 {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org