Search code examples
android-studioandroid-virtual-device

Unable to create a virtual device: Unable to create Android virtual device


While installing Android studio 2.1 version and it downloaded the required components and end of the detailed view logs it shows,

Android SDK is up to date.
Running Intel® HAXM installer
Intel HAXM installed successfully!
Creating Android virtual device
Unable to create a virtual device: Unable to create Android virtual device

I'm running Android studio for the first time in Windows 7.

Screenshot:

Android_Studio_setup_wizard_downloading_components_error

And after opening the Andriod studio and running a sample app, I get the error

Error while waiting for device: Could not start AVD

Why is it unable to create a virtual device and how can I solve the problem?


Solution

  • Even though I don't know what exactly caused the avd creation problem in a new laptop. I did exactly the same thing as user @Jamalla posted. I clicked finish and tried to run my sample app in the existing emulator. As Jamalla pointed out the config.ini file was corrupted. So I deleted the existing AVD and created a new one. But I couldn't start it either because my VT was not enabled in my BIOS.

    After enabling my VTx in BIOS menu I was able to start the AVD with no issues.