Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OK button in "Create new Android Virtual Device (AVD)" dialog does not do anything

Tags:

android

avd

Tried to create an AVD from the eclipse environment in the following steps:

  1. Click Window/Android Virtual Device Manager. This brings up the "Android Virtual Device Manager" dialog.
  2. In the dialog, click "New...". This brings up the "Create new Android Virtual Device (AVD)" dialog.
  3. Fill out the fields in this dialog, then click the OK button.
  4. But the OK button doesn't do anything. The "Create new Android Virtual Device (AVD)" dialog still stays up and nothing is created.
like image 654
user3385845 Avatar asked Mar 05 '14 23:03

user3385845


People also ask

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.

Why the virtual device is not working in Android Studio?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

Why is my AVD Manager not working?

SDK Build Tools are not installed If it fails then you may have to install it again. You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager.


2 Answers

you need to avoid spaces in the AVD name. Put underscore instead and the OK button will become active :)

like image 63
AmanKapoor27 Avatar answered Sep 18 '22 16:09

AmanKapoor27


Looks like this is a bug reported since ADT 22.6. Please find more information in this post:

Cannot create or edit Android Virtual Devices (AVD) from Eclipse, ADT 22.6

I was actually able to reproduce the same issue inside of my environment. As a workaround I was able to open the AVD manager outside of Eclipse by using the following command in terminal:

android-sdk-location/tools/android avd

After opening the AVD manager outside of eclipse it let me create the device successfully. Please note you will have to restart Eclipse once you create the device in order for it to show up in the list of usable devices.

Please look at this similar post for some more suggestions if needed:

AVD Manager - Cannot Create Android Virtual Device

EDIT: Update to latest AVD manager and this issue should go away

like image 35
Joshua Alger Avatar answered Sep 20 '22 16:09

Joshua Alger