WSATools icon indicating copy to clipboard operation
WSATools copied to clipboard

Install fails with multiple devices

Open NGPixel opened this issue 3 years ago • 7 comments
trafficstars

On my machine, running adb devices returns 2 devices:

PS C:\> adb devices
List of devices attached
emulator-5554   device
localhost:58526 device

This results in WSATools failing with error adb.exe: more than one device/emulator when trying to install an APK.

The app should check whether multiple devices are listed first and if so, either automagically select the WSA one or let the user select the correct one, then pass the device serial in the install command in order to prevent this error, e.g.:

adb -s 192.168.0.100:12345 install com.some.app.apk

(I did try to somehow turn off this emulator entry but it always come back or fail with some other error.)

NGPixel avatar Jun 06 '22 07:06 NGPixel

Thanks for reporting. This definitely needs to be implemented.

Simizfo avatar Jun 06 '22 12:06 Simizfo

Closed #35 as it was a duplicate. Also got another report on Direct Messages on Telegram.

Looks like this might get priority and be solved ASAP then

Simizfo avatar Jun 14 '22 07:06 Simizfo

I'm not getting an error from having multiple devices but any apk I try to install with wsatools just sits there installing infinitely and i thought it might be the same issue since I have multiple devices listed as well. Installing with another app already installed like apkpure works fine.

Edit: i just tried installing the apps again from apk and it worked and when i checked adb devices there was only 1 device listed so multiple devices is causing this issue as well.

keatit71 avatar Jun 19 '22 12:06 keatit71

I've got the same issue. Didn't find a way to resolve it yet :-/

StefanHiersekorn avatar Jun 26 '22 19:06 StefanHiersekorn

Just open adb folder > right click and open terminal > write "adb kill-server" and all be work.

Riolu69 avatar Jul 28 '22 09:07 Riolu69

Just open adb folder > right click and open terminal > write "adb kill-server" and all be work.

No it doesn't.

NGPixel avatar Jul 28 '22 18:07 NGPixel

Took me a while, but I'm finally done with university and I'm ready to pick this project back up.

Please accept my excuses for this long downtime.

This should be fixed in 0.2.3, I've just uploaded it to the Store, will come in a few days! Let me know if it works and I'll close this.

Simizfo avatar Aug 04 '22 16:08 Simizfo

Closing this as it's fixed.

Simizfo avatar Oct 26 '22 14:10 Simizfo