Unable to start the virtual device - android

Today I have updated my Windows 10 to the latest version, after that my Genymotion have some error: "Unable to start virtual device...",
I have gone through all the answers in Stackoverflow and made all the changes like DHCP enable, but still I am getting the error. Can anyone help me please?
I also checked the steps in Genymotion problems in windows 10 but didnot work for me!

Try this :
Open Windows Network Connections
Right click on VirtualBox Host only adapter that created
Choose properties
Check "VirtualBox NDIS6 Bridged Networking driver"
Disable and Enable the adapter.

Related

Xamarin android emulator stuck at "Preparing virtual machine..."

I wanted to get into Xamarin, but I have a problem. Whenever I try to run any of the settings in Android emulator , the warning "You do not have permission to modify internal Hyper-V network adapter settings" pop-up. Since I have the admin rights, I just click "Retry"(with admin rights). However, after I click the "Retry" button, the emulator gets stuck at "Preparing virtual machine..." .
I've rebooted, reinstalled the emulator, and made sure that Hyper-v was on, yet the problem persists.
I've found a very similar question
here, but this question has no answers.
How can I get the emulator to run? Thanks in advance.
EDIT: I am trying to use Visual studio emulator for Android
You can try to use GenyMotion emulator, it's work fast and based on VirtualBox VM. But to use Genymotion, you must disable Hyper-V.
To switch Hyper-V on or off on a Windows computer, you can refer to the article - http://www.hanselman.com/blog/SwitchEasilyBetweenVirtualBoxAndHyperVWithABCDEditBootEntryInWindows81.aspx

Genymotion problems in windows 10

I have a problem about Genymotion after updating my OS to Windows 10, fistly it did not open with this error: Virtualization engine not found. Plugin loading aborted. Also unable to load virtualbox engine. After all I tried to upload Genymotion version 2.0.3 and system worked but I could not upload any virtual device. Then uploaded 1 virtual device however it did not worked. Help Please.. Thank you
You may try the following process:
Run VirtualBox as administrator (By default is installed in C:\Program Files\Oracle\VirtualBox)
Go to File -> Preferences -> Network (Left Navigation List) -> Host-only Networks (on the right tab)
Select an adapter and click edit (the small screwdriver on the right)
On "Adapter" tab set
IPv4 Address: 192.168.1.201
IPv4 Network Mask: 255.255.255.0
On DHCP Server Tab set
Server Address: 192.168.1.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.1.101
Upper Address Bound: 192.168.1.199
Click Ok (Host-only Network details), click Ok (VM Settings)
Open Genymotion (as Admin), install a new virtual device (you have deleted all past devices) and start it
It worked with Genymotion 2.5.3 and VB 4.3.12, hope it helps !!
In my case (Windows 10 with VirtualBox 5.0.10 and Genymotion 2.6.0) i had to:
Go to network connections (run control netconnections from cmd)
Right click and properties on VirtualBox Host-Only Network
Enable VirtualBox NDIS6 Bridged Networking Driver
Also some times it helps to delete the virtual device and to download it again.
UPDATE: This is fixed in the latest Genymotion and doesn't happen to me any more.
NOTE: this is using Genymotion 2.5.3, VirtualBox 5.0.0 r101573 and updated Windows 10 as of today.
I'm having all kinds of problems as well, I finally managed to get it working:
Delete genymotion and virtualbox
Remove any unremoved files in folders like AppData and Program Files
Restart
Install Genymotion
Install VirtualBox latest
Run Genymotion as admin, just in case
Install an image that I didn't try before to make sure it's not using any cached data.
It worked fine.
Sometimes, I still freezes and stops working if I try to start a second device. The solution is to:
Close Genymotion, Android studio, etc
Force kill adb.exe and any VirtualBox processes.
Start Genymotion again and start a device.
Install the latest version of Genymotion(2.5.3) can solve the problem.
I've send a email to Genymotion to ask this problem, and I got this reply:
"
Damien (Genymobile)
Jul 30, 10:25
Hi,
Thanks for your report! It will help us to improve our products.
Old version of Genymotion were not working correctly with Windows 10. This has been fixed in Genymotion 2.5.3.
Please download the latest version of Genymotion and try again.
Best regards,
Damien
Genymotion Support Team
"
Start Genymotion 2.5.3 in compatibility mode with Windows 8 - it solves the problem for me. VirtualBox 5.0.0 r101573 and Windows 10 Home (all for x64).
Refer to this virtualbox thread:
https://www.virtualbox.org/ticket/14040
For me, as other answers suggested, using genymotion 2.5.3 and latest vbox works fine.
You can find latest test builds at https://www.virtualbox.org/wiki/Testbuilds
Hope it helps :)
EDIT Vbox now officially supports windows 10 and genymotion 2.5.4 also supports Vbox version (5.0.4) on Windows 10
see https://www.genymotion.com/#!/release-notes
You have just to update your VirtualBox, use a 5.x.x VBOX version it should work normaly ;)
Go to VirtualBox. File -> Preferences -> Network -> Select Host-only Networks.
Select one of the Ethernet Adapters -> Click the tool on bottom right of screen. The third button on the right.
Enter the following:
IPv4 Address: 192.168.1.201 IPv4
Network Mask: 255.255.255.0.
No need to have DHCP Server selected. Hit OK and now you are good to go.
If you haven't done so, make sure to go to Settings and set Version to Windows 10. Also, update Genymotion to the most current version.
Follow these steps
Update your Genymotion to 2.5.3
Update your VirtualBox to 5.0
Go to your virtualbox settings, under the general tab on the top left , set the version to windows 10
i tried this , and it worked well
Install Virtualbox Testbuild lastest -> Install Genymotion without Virtualbox ->
Right click Genymotion -> Properties -> Compatibility -> In Compatibility mode, check Run this program in compatibility mode for and selected Windows 8 -> It work for me.
Nothing worked for me. I saw in one post that genymotion 2.0.3 will work out of the box. And it did. The only change I made was:
1. Uninstalled genymotion latest version and Vbox and restarted
2. Installed the last 4.x.x version of vbox
3. Installed genymotion 2.0.3 without installing vbox
its working fine for me now.

Fiddler4 with oracle virtual box

Does anyone have any idea on how to use fiddler4 with Oracle VirtualBox. I am using this android OS.
http://www.andyroid.net/
I have tried to configure the proxy settings in the virtual box but it doesnt seem to be able to capture traffic.
Anyone has any idea on how about going to do this. I would prefer this emulator as it is faster than the android emulator in studio.
I did not have turned the Bridged Adapter in VirtualBox Network settings.
I found out this luckily by viewing the Mac article: http://www.telerik.com/blogs/running-fiddler-in-virtualbox-on-mac
Configuring Fiddler for Android is here: http://www.cantoni.org/2013/11/06/capture-android-web-traffic-fiddler

how to install genymotion on vmware

Guys I've installed genymotion on virtual box provided with setup . now every time i want to start the virtual device I've to restart my laptop & sometimes even that doesn't help . So I've decided to install that on VMWare 11 . Can anyone help me please on this issue.
If anyone can solve this error which says can't connect to virtualbox ,That would be helpful also. But I still prefer solution with VMWare .
I've tried solution like DHCP server address solution which is suggested by official support site of genymotion , but that doesn't help also.
I've tried glew solution also but their support center doesn't accept log file(text) or image of error.
Snapshot of error :
I had the same issue, Genymotion can't be launched on a virtual machine!
This is quoted from their faq:
Why doesn't Genymotion start from a virtual machine? Genymotion cannot
be run from a virtual machine. Indeed, Genymotion needs a direct
access to the hardware in order to provide OpenGL acceleration.
Running Genymotion from a virtual machine prevents it to directly
access the hardware components. Therefore, Genymotion is incompatible
when installed from VMWare, Parallels, Hyper-V or VirtualPC.
About the problem with virtual box try the following steps:
1. Open Virtual box. Go to preferences.
2. Click on networks option.
3. Click on Host-only networks tab
4. Delete all host adapters.
5. Start Genymotion. It will automatically create a new network adapter with required settings.
The above worked for me.

Genymotion unable to start the virtual device

So basically I am a newbie to android development. All was working well till few days back I suddenly got error while starting my virtual device from genymotion. It is giving me this error:
Unable to start the virtual device
The virtual device got no IP address.
I have use following solutions to resolve my problem:
Edit the Host-only Network by clicking. Check that the adapter IPv4 address is in the same network (192.168.56.0/24 by default) as the DHCP server address, lower address bound and upper address bound.
Recreated the adapter with proper settings (as in step 1)
Reinstall the genymotion and virtualBox
But none of the above mentioned steps worked for me, and it is quite frutsrating as I can't spend any more time on this issue. So, is there any other way to solve this issue?
maybe some errors are related to the amount of Base Memory that we put in VirtualBox, on some systems should lower it to 1GB, not to collapse the connection between the emulator program (Genymotion) and the virtual machine.
Sorry for my english but it's not my native language ;)
see if this helps you
http://goo.gl/caE3pF
So,what i did to solve my problem was that i uninstalled both virtualBox and genymotion and upgraded my virtualbox to 4.3 version and again installed both virtualBox and genymotion.After completing all the installations genymotion is working fine.
I was getting this error even when DHCP settings was proper. Figured out finally that there was a mismatch between my host config and the VM settings for the virtual device(mine was 64 bit, while VM was 32 bit). Got it working by setting the VM to 64 bit.(right click on VM image on VirtualBox-->Settings-->General-->Version)
I got this error too awhile ago. But, none of this answer can fix it.
For my problem, I fix it by trying to run the vm on Virtual Box then I got the error message. It said VT-x is disabled by Bios, so I open the vm settings on virtual box, in System -> Acceleration -> Uncheck VT-x/AMD-V
After that, I can run the virtual device normally
If your Acceleration Tab is grayed out, you can enable it in the BIOS setting. Find out the option (Internet) Virtualization Technology and Enable it.
For ASUS, it is under CPU Configuration; For HP Laptop, it is under System configurations>Device Configurations> Virtualization Technology.
After Enabling it, you can restart your computer and check it. If still doesn't work, please completely shut down the PC and then start it.
For more detailed demo please refer to the video: How to enable Grayed Out Acceleration tab in VirtualBox
Then you can go on the settings as Raiz-al shared above.

Categories

Resources