Reputation: 491
Tried to create an AVD from the eclipse environment in the following steps:
Upvotes: 49
Views: 79724
Reputation: 11358
My problem was solved by freeing disk space.
I had some 2 GB free, and noticed that after closing the Add Virtual Device window there was a red notification on the top-right corner of Android Studio
.
Clicked it, and it showed a log message stating freeing disk space was required
.
I did it, and next time I tried adding a virtual device, it worked.
Upvotes: 0
Reputation: 97
I deleted and reinstalled Intel HAXM as I was using the Intel Atom image. After inputting all the settings the 'OK' button was still greyed out only after selecting 'Skin' field as 'No Skin' did it become active, so I guess you have to choose a skin, even if that means choosing 'No Skin'.
That worked for me.
Upvotes: 0
Reputation: 1
you need AVD Manager
so install SDK from here,
then make Android Virtual Device
where you install SDK, not in Eclips.
when you run Eclips you can see your AVD in windows->Android Virtual Device Manager.
later, you can add system image
, APIs
, ... in SDK, because this SDK isn't full.
Upvotes: -1
Reputation: 1
A duplicate AVD Name also keeps the OK button disabled please check that as well
Upvotes: 0
Reputation: 2519
I was able to find a solution by installing the System Images for the Android version I was looking to emulate.
Open up the Android SDK Manager -> Android 4.4.2 -> Check ARM EABI v7a System Image and Intel x86 Atom System Image -> Click Install Packages.
Reopen the AVD Manager and create a new virtual device.
Upvotes: 7
Reputation: 1
Another silly thing that makes the OK button disabled is using the same name for the Virtual machine. Every time you click the "Create AVD" button,from the "Device Definitions" tab, AVD manager fills in a name by default. I had created one such AVD earlier and wanted to try another configuration and had the OK button disabled because the name already was in use.
Upvotes: 0
Reputation: 1
Guys the issue has been solved, from ADT or Eclipse open the SDK Manager (Windows > SDK Manager) and then from the SDK Manager you can use Menu Tools > Manage AVDs and that will work to create AVDs as well to repair old AVDs.
Upvotes: 0
Reputation: 1
I had to delete 'ALL' my old AVDs first, then OK button appeared and I was able to create new ones. Some old AVDs were built on old versions of android so i suspect this was causing conflict to AVD manager.
Upvotes: 0
Reputation: 3926
If you can't create a device then just clone it.
Open ADT Manger
Click on Device Definations
Double Tap on the device you want
Edit it and click on clone
Then create your device as you wish with low specifications.
You are done now
Upvotes: 4
Reputation: 760
In Windows, open the installed folder of the android-sdk
.
It will be located in
C:\Program Files (x86)\Android\android-sdk
then execute "AVD Manager.exe" directly.
Upvotes: 0
Reputation: 11635
Using the "Create Device" didn't work for me, however using "Clone" from an existing device and just modifying all of the values worked fine.
Spaces were allowed in the name as well.
Upvotes: 9
Reputation: 1
Assume you guys are using Windows OS check if you have set the path for Java, platform tools and tools in environment variables. Then logout and login once again. Generally in windows the environmental variables come into effect after that login
Upvotes: 0
Reputation: 1449
Normally the skin drop down list is nothing, so you need to choose a skin.
Upvotes: 0
Reputation: 957
you need to avoid spaces in the AVD name. Put underscore instead and the OK button will become active :)
Upvotes: 82
Reputation: 159
It's not a bug! I solved the problem by deleting the gap between the letters of the AVD name which I'm going to make!
Whenever I add a space in the AVD name, the "ok" button is disabled!
Upvotes: 14
Reputation: 51
Even i faced the same problem, installing ARM EABI v7a System Image solved. try this "Open your SDK manager and ensure that you've installed ARM EABI v7a System Image"
Upvotes: 5
Reputation: 2132
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
Upvotes: 16