Error Unhandled rejection FailError: Failure: 'device still authorizing'
zangtian2 opened this issue ยท 2 comments
zangtian2 commented
Example : Tracking devices
client.trackDevices()
.then(function (tracker) {
tracker.on('add', function (device) {
var devInfo = {}
devInfo.serial = ""
devInfo.model = ""
// mainWindow.webContents.send('monitor-devices', device.id)
console.log('Device %s was plugged in', device.id)
client.getProperties(device.id).then(function (err, properties) {
console.log(err)
properties.forEach(function (property) {
if (property) {
console.log(property)
}
})
...
#raise error "Unhandled rejection FailError: Failure: 'device still authorizing'"
but adb devices is fine.
issue-label-bot commented
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.87. Please mark this comment with
Links: app homepage, dashboard and code for this bot.
zangtian2 commented
setTimeout solve it