Open jankeromnes opened 4 years ago
@jankeromnes Can you make TLDR from this? It's unnecessarily long.
Seems to be relevant to https://github.com/gitpod-io/gitpod/issues/1265
@Kreyren Basically Issue reporter: I want to develop android! Sven: Not possible Me: I'll take a stab take a look at https://github.com/JesterOrNot/Gitpod-Android Me: I did it (sends a lot of screenshots with Android Studio installed) Jan: Great job Sean Me: Oh I need KVM Jan: Hmm we could A: Use physical device via inlets, B: downloading a flashable image from Gitpod (with flashing tools included) C: Use An ARM-based Virtual device (it will be really slow)
@JesterOrNot thank you! ^-^
i think i understand the issue, but i don't know why is solution proposed in https://github.com/gitpod-io/gitpod/issues/1265#issuecomment-591711957 not an option?
Neither do I, Does it work?
@geropl if you have time can you take a look?
@JesterOrNot i believe that referenced sourcehut is a proof of it working well.
I know but what about in gitpod
@JesterOrNot looks like same usecase to me just different product provided
No, I mean do we have KVM/QUEMU running in a workspace?
@JesterOrNot Based on available info we don't since that would require sharing /dev/kvm to dockerd thus proposed to replace docker with vagrant which is based on available info more secure, more efficient on system resources and does not have these limitations and is compatible with current dockerfile configurations.
hardware used on gitpod based on the data that i was able to harvest from it supports KVM (root access is required to confirm).
@geropl if you have time can you take a look?
@JesterOrNot Thanks a ton for your investigation. The runtime change required to be able to (potentially) open up KVM is on our radar but not within short reach. It's more several months than weeks and we're not ready to commit to a timeline for it, yet.
@Kreyren Thank you for the suggestions. We're observing the space for some time now and indeed are favouring options that would make Gitpod feel more like a VM than a container.
@geropl The runtime change required to be able to (potentially) open up KVM is on our radar but not within short reach. It's more several months than weeks and we're not ready to commit to a timeline for it, yet.
Why that long? I see this being deployed under 12 hours with hardening.
Would be willing to provide the userland and kernel assuming hardware info and abstract provided.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Keep this alive
@geropl Several months have passed, do you have an update on the current status? Is there anything missing you need from the underlying infrastructure?
I've created a way to connect an Android device to ADB running in gitpod using a websocket https://github.com/parched/remote-web-adb
I've tried adb shell
and it worked alright. Pushing and pulling is a bit slow, but that may be my crappy internet connection.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
So anything yet :sweat_smile: ?
I found a neat way to do real Android development with Gitpod. I have created a template with a guide here.
@JamesCullum but you still need to access outside the Gitpod IDE to run tunneling software like ngrok in your example. Is there a way to not touch other resources outside the Gitpod?
To run the emulator, you need different VMs / hardware that Gitpod doesn't have. So you cannot run the emulator within Gitpod, if that's what youre asking. Of course you can run the tunnel in a different way (eg port opening, on the phone itself) to not have the setup on a desktop machine.
I am not sure if this is a viable option but theoretically it should work.
launch a vpn for that specific container where users can connect their mobile phones to and debug wirelessly.
It seems that GitHub accidentally took down issue #723, but they kindly provided the missing content so that we could re-post it.
@dongfangxunlei at
2019-08-13T06:55:40Z
:@svenefftinge at
2019-08-13T12:07:40Z
:@JesterOrNot at
2019-10-05T15:21:45Z
:@JesterOrNot at
2019-10-05T15:28:27Z
:@jankeromnes at
2019-10-08T08:51:36Z
:@JesterOrNot at
2019-10-08T13:01:46Z
:@JesterOrNot at
2019-10-08T20:24:12Z
:@JesterOrNot at
2019-10-08T22:10:19Z
:@JesterOrNot at
2019-10-08T22:27:45Z
:@jankeromnes at
2019-10-10T13:05:10Z
:@JesterOrNot at
2019-10-11T01:14:10Z
:@JesterOrNot at
2019-11-16T17:13:00Z
:@jankeromnes at
2019-11-18T10:57:27Z
:@JesterOrNot at
2019-11-19T02:56:56Z
: