Android running on Windows 10 Guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
dmac
Posts: 5
Joined: 9. Jan 2022, 00:12

Android running on Windows 10 Guest

Post by dmac »

I have followed the post by Mark (cant posts URLs yet) and can not seem to get the Android tablet to get on the internet. I put the network in VBox to bridged but it is not working. Suggestions?
Thanks
Last edited by mpack on 10. Jan 2022, 14:09, edited 3 times in total.
Reason: Fix "Andriod" typo, important for topic to be found in searches.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Andriod running on Windows 10 Guest

Post by scottgus1 »

Andriod running on Windows 10 Guest
This would be nested virtualization: Windows host > Windows Guest > Android subguest.

We need to check the physical PC for nested virtualization capability. On the host's VM, Start the VM from full power off, not save-state. Run until you see the problem happen, then shut down the VM from within the VM OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Please right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip the log file, and post the zip file, using the forum's Upload Attachment tab.

If you really meant:
Andriod running on Windows 10 Host
Remember that the physical PC is the host, not the guest.

Some things can interfere with Bridged, especially using Wi-Fi. Android does work on a Bridged connection. I have done it. See viewtopic.php?f=3&t=92683&start=15#p464073.

It may be beneficial to try a supported OS, like Ubuntu, to see if Bridged works on your host.
dmac
Posts: 5
Joined: 9. Jan 2022, 00:12

Re: Andriod running on Windows 10 Guest

Post by dmac »

I'm very sorry for my bad wording. Windows 10 is the host and android is the guest. very sorry.
dmac
Posts: 5
Joined: 9. Jan 2022, 00:12

Re: Andriod running on Windows 10 Guest

Post by dmac »

I have it set for bridged. When in Android and it asks to scan for Wifi networks, do you just press skip?
Thanks!!
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Andriod running on Windows 10 Guest

Post by scottgus1 »

Good question. You should try web-searching how to set up Android in a VM. Anything beyond setting up Virtualbox is really beyond our scope.
dmac
Posts: 5
Joined: 9. Jan 2022, 00:12

Re: Andriod running on Windows 10 Guest

Post by dmac »

Your response confuses me. Since virtual box supplies the underlying virtual hardware to the android guest doesn't that mean getting it all to work together is part of some possible settings in virtualbox? I did search the internet. all of what I tried did not work.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Andriod running on Windows 10 Guest

Post by scottgus1 »

Bridged connects the VM network 'hardware' into the host LAN acting as a separate computer on the network, see Virtualbox Networks: In Pictures: Bridged Adapter.

What the OS running on the VM 'hardware' does with that network connection is not controllable by Virtualbox. In other words, if you install the OS on a real PC and it would ask the same question it is asking inside the VM, then it would be a configuration setting inside the OS to be web-searched, since the problem is not dependent on Virtualbox. This question, what to do with the network Android found, would be asked by Android if you installed in a real PC also, so it is an Android question, not a Virtualbox question.

For example, a basic MS-DOS install doesn't have the foggiest idea what a network is. Virtualbox would provide network hardware for the DOS VM, but one would have to web-search how to make DOS see and use the network hardware. Same for your Android VM.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Andriod running on Windows 10 Guest

Post by mpack »

dmac wrote:Your response confuses me. Since virtual box supplies the underlying virtual hardware to the android guest doesn't that mean getting it all to work together is part of some possible settings in virtualbox?
Imagine that you bought a PC from Dell. Would you expect Dell to help you install Android?

Likewise, VirtualBox provides the "hardware" of the PC, it can't guarantee that any OS you dig up from somewhere - particularly when it isn't even a supported OS - is going to work.

And in fact Android usually has problems: x86 is not the main market, nor are PCs the intended platform. Android isn't often expected to use Ethernet, which is the only network API provided by VirtualBox. However despite all that it can work provided you seek out a build of Android that is already known to work in VirtualBox. Even then it will not work very well since there is no hardware acceleration.

Perhaps you should look at BlueStacks. This is actually based on VirtualBox, but they have customized it to make the Android experience better. They are gaming oriented, but I believe they offer the best PC based Android at the moment.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Android running on Windows 10 Guest

Post by scottgus1 »

mpack wrote:Android isn't often expected to use Ethernet, which is the only network API provided by VirtualBox.
Yes, this just popped into my head this morning, too.

@dmac, as Mpack points out, all of Virtualbox's network adapters are wired Ethernet. So Android will never see a Wi-Fi adapter in a Virtualbox VM. So I'd guess you should click Skip.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Android running on Windows 10 Guest

Post by mpack »

scottgus1 wrote:So Android will never see a Wi-Fi adapter in a Virtualbox VM.
As I mentioned above, the Android 8.1 build that I installed includes a virtual WiFi that works over Ethernet, making it ideal for Android and VirtualBox.
Post Reply