alesimula / wsa_pacman

A GUI package manager and package installer for Windows Subsystem for Android (WSA)
GNU General Public License v3.0
3.9k stars 836 forks source link

The "install" button is greyed out and won't allow me to click it when I tried to install an apk #108

Closed norabelle101 closed 1 year ago

norabelle101 commented 1 year ago

Hello,

I was able to successfully install WSA Pacman, but when I tried to install an apk and a pop-up appeared (I'm assuming to ask that I grant it permission to storage and the like), it won't allow me to click "install" because the button is greyed out. I'm not sure where I went wrong... Apologies for the inconvenience, and thank you for any help!

Please refer to this image:

image
bboehmei commented 1 year ago

Turn on developer settings in windows. Search, settings, developer settings, developer mode > on.

norabelle101 commented 1 year ago

Turn on developer settings in windows. Search, settings, developer settings, developer mode > on.

Hello, I tried turning developer mode on and then even restarted my laptop. But the Install button is still greyed out...

alesimula commented 1 year ago

@vanessabluellie is WSA turned on? it turns off by default when you are not using it (eg. you just started your PC and haven't opened any Android app, or it closes automatically after some minutes if all Android apps have been closed), you can turn WSA on by opening any Android app, there is also a button to to turn it on in the main WSA PacMan interface

image

When you see a green info box here (with the status "Connected") you should be able to press "Install"

BTW you can override the automatic Android shut-off from Windows Subsystem for Android Settings, but I don't recommend it as it is very resource-hungry

jojoyee commented 1 year ago

Hello,

I was able to successfully install WSA Pacman, but when I tried to install an apk and a pop-up appeared (I'm assuming to ask that I grant it permission to storage and the like), it won't allow me to click "install" because the button is greyed out. I'm not sure where I went wrong... Apologies for the inconvenience, and thank you for any help!

Please refer to this image:

image

In Windows Subsystem for Androids settings, after setting Developer options on, click Manage developer settings, set USB debugging on and change Default USB connection to "File Transfer". This works for me.

alesimula commented 1 year ago

@jojoyee Hmm, that should not affect it in any way; what happens when you change it back from "File Transfer" to the default one?

norabelle101 commented 1 year ago

by opening any Android app

@alesimula WSA is turned off and I tried to press "Turn On" several times, but it would only say "Starting, please stand by" before almost immediately going back to "Arrested, WSA is turned off" :(

norabelle101 commented 1 year ago

Hello, I was able to successfully install WSA Pacman, but when I tried to install an apk and a pop-up appeared (I'm assuming to ask that I grant it permission to storage and the like), it won't allow me to click "install" because the button is greyed out. I'm not sure where I went wrong... Apologies for the inconvenience, and thank you for any help! Please refer to this image:

image

In Windows Subsystem for Androids settings, after setting Developer options on, click Manage developer settings, set USB debugging on and change Default USB connection to "File Transfer". This works for me.

@jojoyee Actually about this, I went into Developer settings of the Windows Subsystem for Android and clicked on "Manage developer settings" so many times, but nothing ever popped up for me so I honestly can't change any of the developer settings at all...

karner commented 1 year ago

I had the same issue. But when deactivating USB debugging and reactivating it again, I got a gray window prompting me to allow ADB debugging, showing the computer's RSA key fingerprint. Allowing this fixed it for me. Unfortunately, the setting is enabled by default, but the USB debugging authorization doesn't seem to be given by default.

quartzbear commented 1 year ago

But when deactivating USB debugging and reactivating it again, I got a gray window prompting me to allow ADB debugging, showing the computer's RSA key fingerprint.

This also worked for me. I had already installed one app, but when I tried to install another it wouldn't budge. Your solution worked like a charm. Thanks

alesimula commented 1 year ago

I have updated WSA PacMan to "solve" this issue.

Now it correctly reports the status as "unauthorized" instead of connected, giving a button to reconnect (might not work because of a WSA bug) and one to open developer settings, from which, as the dialog box explains, you have to turn "USB debugging" off and on again should the first button fail to show a prompt