Reputation: 2716
I am getting the following error when I try to launch Xamarin Android Player. I have tried reducing the allocated memory in Virtual Box, as suggested in some other forums but no results.
I am using Virtual Box V5.0.4
.
Kindly guide on resolving the issue.
The Android is working in Virtual Box when I change
Settings>Network>Adapter1>Attached to
to NAT
by going into the in virtual box but as I launch the Xamarin Android Player or GenyMotion. it resets it to Host-Only Adapter
and the emulator stops working.
Upvotes: 0
Views: 494
Reputation: 9703
I would update virtual box to 5.0.20 from here try it again.
If that doesn't work then try reinstalling Xamarin Android Player.
If that doesn't work then I would recommend trying GenyMotion
Check this forum post too
They say this:
I solved this issue by reducing the RAM Value in Virtual Box.
- Go to Virtual Box
- Select Your Device
- Go to settings -> System -> Motherboard.
- Reduce Base Memory.
Or this might help:
Try starting the emulator in VirtualBox. It will give you a specific error, which you can then google for more info.
In my case, the issue was VERR_INTNET_FLT_IF_NOT_FOUND, and the solution was here
solution https://www.virtualbox.org/ticket/14604#comment:1
Upvotes: 0
Reputation: 1704
Check if you have Virtualization Enabled in your BIOS settings.
Another workaround:
- Uninstall previous versions of XAP.
- Open up VirtualBox and remove all of the XAP devices, choose to delete files.
- Open the VirtualBox Virtual Media Manager and ensure there are no data.vdi, system.vdi or sdcard.vdi files remaining. If there are, release and remove them.
- Delete C:\ProgramData\AndroidPlayer
Source: https://bugzilla.xamarin.com/show_bug.cgi?id=24817
Upvotes: 0