WSATools icon indicating copy to clipboard operation
WSATools copied to clipboard

Infinite loading

Open AlexZedTech opened this issue 3 years ago • 15 comments
trafficstars

AlexZedTech avatar May 31 '22 22:05 AlexZedTech

This needs more details, please!

Thank you.

Simizfo avatar Jun 06 '22 12:06 Simizfo

Closing as there was no more details provided. Feel free to reopen this if needed.

Simizfo avatar Aug 04 '22 16:08 Simizfo

Hello same issue here. What details do you need ?

Azertixe avatar Aug 29 '22 17:08 Azertixe

Same here!

Diegorro98 avatar Oct 13 '22 14:10 Diegorro98

What steps did you do?

Anything that might help me understand where the code fails is welcome. Thanks!

Simizfo avatar Oct 17 '22 19:10 Simizfo

@Simizfo, I reproduced the issue following these steps:

  1. Install WSATools
  2. Try install an APK.
  3. Install ADB from WSATools dialog
  4. When ADB is installed, cancel APK installation (if installation was made from WSATools just close the APK file selection window so that WSATools is back at the start page, if it was made by double-clicking on an APK file on the file explorer or you already have chosen an APK, close the window when the option to install is shown)
  5. Try again to install again the APK

EDIT Also if you achieve to install adb and the desired APK successfully, and you try to install another app, WSATools will get into infinite loop too... Only way for me to install apk is reseting WSATools each time and installing ADB, but if installation fails it might require to reset again the app... 😕

Diegorro98 avatar Oct 18 '22 15:10 Diegorro98

Thanks for this @Diegorro98, I'll try to reproduce it and see what happens.

Simizfo avatar Oct 23 '22 09:10 Simizfo

yea also stuck here. I can install this apk manually via cli, but the tool is just stuck like this: image

It's this apk btw if that helps: https://tachiyomi.org/download/ but seems to happen to me with any apk

zeratax avatar Jan 05 '23 19:01 zeratax

Here are 2 possible causes of Infinite Loading on my machine.

Background Information

  • Installed WSA, Amazon Appstore and WSA-Tools through Microsoft Store.
  • Has some complete and installable APK files.
  • Has a valid and working ADB package, version 1.0.41, added to PATH.
  • Developer Mode enabled in WSA Settings, port set to default.
  • Subsystem Resources set to Continues, in WSA Settings.
  • Custom ADB Location set correctly.

Cause 1: ADB "debugs" for the first time, WSA not allowing debug from strange device

  • I have never installed anything besides Amazon Appstore in WSA, nor do I ever launch ADB.
  • I failed (infinite Loading) to install the APK through: (I call it method 1)
    • Launch WSA-Tools
    • Click "install an APK"
    • Choose the APK file
    • Click "Load APK"
  • I failed (infinite Loading) to install the APK through: (I call it method 2)
    • Double Clicking it.
  • I opened PowerShell, typed adb connect 127.0.0.1:58526, a window popped up and ask me "allow debugging?", I checked the checkbox "always allow" and then clicked "allow". (texts in "" may not the same, but the meanings are)
  • I typed adb install <path to APK 1>, and successfully installed one app. (yes, through command line)
  • I successfully installed another APK through method 1.

Cause 2: disconnect and re-connect WSA in command line

  • I installed an APK through method 2, succeeded.
  • ~~For some reason I decided to~~ disconnected WSA in command line by typing adb disconnect in PowerShell.
  • I re-connect WSA in command line using abd connect 127.0.0.1:58526
  • I typed abd devices to confirm if it's connected, and it was.
  • I tried to install another APK through method 1, failed (Infinite Loading).
  • I tried to install the same APK in the last step through command line, succeeded.

Saplyn avatar Jan 07 '23 14:01 Saplyn

Hi there! Good news: WSATools has been 100% rewritten from scratch using Windows App SDK. It's WAY more stable.

I'll release this as soon as possible!

Thanks for reporting.

Simizfo avatar Feb 13 '23 16:02 Simizfo

This should be fixed in the new version (1.0.0) available now on the store, if anyone happens to try please let me know and I'll close this!

Simizfo avatar Mar 23 '23 18:03 Simizfo

Infinite Loading still happens on my freshly installed WSATools right after selecting a custom adb folder. WSATools just hangs forever, including becomming a "white" app when clicking somewhere.

(As I already have adb around, I'm not planning to download another via WSATools.)

BlankFX1 avatar Jun 19 '23 22:06 BlankFX1

@BlankFX1 Would you mind posting your logs? Open them in the app main page before selecting a custom ADB in settings.

Simizfo avatar Jun 22 '23 07:06 Simizfo

Sure, but I highly doubt this will help:

CORE: Checking for WSA ...
CORE: Checking for WSA returned 0
CORE: Checking for WSA ...
CORE: Checking for WSA returned 0

Thats all. And just to clarify; WSA itself works perfectly fine.

BlankFX1 avatar Jun 29 '23 10:06 BlankFX1

This is interesting, apparently no error. I'll check if something blocking might happen there. Thanks for reporting!

Simizfo avatar Jul 18 '23 07:07 Simizfo