bk138 / droidVNC-NG

VNC server app for Android that does not require root privileges.
GNU General Public License v2.0
1.21k stars 176 forks source link

Cannot launch apk files #215

Open Realgigabyte opened 2 weeks ago

Realgigabyte commented 2 weeks ago

Describe the bug If I launch an .apk I am not able to confirm if I want to install the app.

To Reproduce

  1. Navigate to an apk file to install via a file manager and launch it.
  2. Android shows a prompt window and asks if I want to install.
  3. If I try to click on 'confirm' nothing happens, only the 'cancel' button works.
  4. If I use a local mouse I am able to click on 'confirm'

Expected Behavior

I should be able to confirm the installation via VNC when prompted

Logs/Backtraces

Your environment (please complete the following information):

Additional context

bk138 commented 2 weeks ago

Thanks for reporting. That might be an Android security feature. Can you try with alphavnc and TeamViewer and check if they work?

apksack commented 6 days ago

Hi, It seems you're unable to confirm APK installations via VNC, only via a local mouse. Here are quick steps to troubleshoot:

-Check VNC Settings: Ensure your VNC client forwards all input events correctly. -Update VNC Client: Use the latest TightVNC version on Windows 10. -Permissions: Confirm droidVNC-NG has the necessary permissions on Android. -Try Other Clients: Test with different VNC clients like RealVNC or VNC Viewer. -System Settings: Check Android's settings for input restrictions. Provide logs if needed for further help.

bk138 commented 1 day ago

@Realgigabyte Were you able to try with alphavnc and TeamViewer?

Realgigabyte commented 12 hours ago

@bk138 I tried again with TightVNC and was working on another machine. I went back on previous machine and realize it was on version 2.2 so I installed version 2.4.1 and is working there too. (Pretty sure wasn't working before for some reasons, sorry for that)

(on another note the file transfer icon is greyed on TightVNC although I enabled File Transfer on DroidVNC)