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
I use this code to get list android device connected in windows. But when I turn off all my network card or my network down it will catch exeption "getaddrinfo ENOENT". It will work when I have any network card connected even this is network card to virtual machine. How can I get listdevice when my network down?
constadb=require('adbkit');constclient=adb.createClient();client.listDevices().then(function(devices){console.log(devices);//Set link button if detect device}).catch(function(err){console.error('Something went wrong: '+err);});
The text was updated successfully, but these errors were encountered:
I use this code to get list android device connected in windows. But when I turn off all my network card or my network down it will catch exeption "getaddrinfo ENOENT". It will work when I have any network card connected even this is network card to virtual machine. How can I get listdevice when my network down?
The text was updated successfully, but these errors were encountered: