mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Fixes "Device still authorizing issue" #608 (https://github.com/apache/cordova-android/issues/608) Resolves #608
This commit is contained in:
parent
7a98708eef
commit
715ce2f9ac
3
bin/templates/cordova/lib/emulator.js
vendored
3
bin/templates/cordova/lib/emulator.js
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user