How to run Android virtual machine in Google Compute Engine?

I am trying to run Android VM on GCE. I followed this tutorial to create a custom vm image from android isroid 4.4 x86 image. I could start an instance using the image I built, but I can't SSH or I couldn't adb connect to it. Can anyone help me on how to get Android VM to work with GCE?

+3


source to share


2 answers


The manual mentions that you have to make sure the image contains an SSH agent so that you can access it after the installation is complete. Android 4.4 x86 doesn't have any SSH component, so it was expecting it to not allow SSH connections. You will need to add an SSH agent to the image to make it SSH capable.



+1


source


I am trying to do the same and wondering if the fact that Android x86 images are all 32 bit, whereas GCE seems to only support 64 bit images .

EDIT: Ravello Systems seems to have a KVM-like solution that deploys to GCE as a custom hypervisor that sits on top of your Android VM image, providing a nested virtualized environment. This is the only way to test it. Check out the following blog article .



PS: I also set up an SSH server on the image before booting, but I don't think the VM is even booting since I can't miss it either.

+1


source







All Articles