You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am starting the emulator and the using the ensureReady waiting for the promise to return on emulator completing the start. But, it is not returned only.
module.exports=(function(){
var androidhelper={};
androidhelper.startEmulator = function startEmulator(avdName){
return androidctrl.start(avdName)
.then(function(){
console.log("started")
return androidctrl.waitForDevice(avdName)
});
}
}
var m = require('./index2')
m.startEmulator('Nexus_4_API_21_1')
.then(function (result) {
console.log("started")
console.log(result);
}).caught(function(err){
console.log(err)
}).error(function(err){
console.log(err)
})
The text was updated successfully, but these errors were encountered:
Hi,
I am starting the emulator and the using the ensureReady waiting for the promise to return on emulator completing the start. But, it is not returned only.
module.exports=(function(){
androidhelper.startEmulator = function startEmulator(avdName){
return androidctrl.start(avdName)
.then(function(){
console.log("started")
return androidctrl.waitForDevice(avdName)
});
}
}
var m = require('./index2')
m.startEmulator('Nexus_4_API_21_1')
.then(function (result) {
console.log("started")
console.log(result);
}).error(function(err){
console.log(err)
})
The text was updated successfully, but these errors were encountered: