-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility for on different Android versions? #10512
Comments
Are you building the Go binary for Android? |
If so, then I can really easily enable a workflow for this. |
I've gone ahead and created a PR that fixes this: #10515 Depending on how you're running this Coder binary I might have to change how it works. |
Thanks in advance! I really appreciate it. My minimal requirement is that I can run |
Hi @eugene-yh Unfortunately, we've decided not to merge #10515 as it complicates our integration with tailscale. That's just not a cost we're willing to bear for Android, since we don't have any plans to officially support it and don't have testing for it. I expect that if you grab the branch from that PR and fork it to your own repo, you will be able to build a coder binary that works with Termux. |
Just a quick note, I tried to get it working with NixOnDroid which is based on Termux. Even with a lot of modifications and with the anet package it's not possible to get it working. Netlinkrb is completely off limits on new android versions and always causes a permission denied. So for now the only way is to use the Web terminal. Theoretically it should be possible to build an Android app which uses the websocket connection of the Web terminal or add some functionality to the coder cli to ssh via the coordinator and not use tailscale. But that's probably OOS cuz Android is not supported. |
There seems to be no official releases of coder for Termux on Android devices. However,
coder ssh
seems working fine on my Android 12 device (though with a warning, see the first screenshot), so it is kind of okay. But, my new phone is Android 13, andcoder ssh
throws an exception about network permission (see the second screenshot) and fails to connect to my workspace.I did some research and the network permission issue (caused by more strict security policy of newer Android versions) seems resolvable by making some modifications the network interface in Go. See this as a reference.
I wonder if you guys can at least make
coder ssh
usable for termux on latest Android devices. It would be even better if all utilities are compatible.The text was updated successfully, but these errors were encountered: