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

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


THIS IS A POSSIBLE WORKAROUND FOR BUGS IN ADT 22.6.0 ONLY, THESE BUGS SUBSEQUENTLY FIXED IN FOLLOWING BUILDS

Download and install new ADT v22.6.1 from here (zip) or use SDK manager to update

Seems like some bug from Google side, this problem found after "ADT 22.6" update. Widely reported on "Android Open Source Project - Issue Tracker" and nobody properly answered it yet.

However I was partially successful to create an AVD by opening "AVD manager.exe" from "Android SDK" for creating new AVD try to open directly AVD Manager.exe in SDK folder.

May be we have to wait for any conformation from Android community

Worked for me, sort of.. .

(Windows 8.1 Pro 64 Bit, Java JDK 1.7 Update 25, Eclipse Standard Kepler Service Release 1, Android Development Toolkit 22.6.0.v201403010043-1049357)

Update 1

Further research revealed that launching AVD Manager from SDK Manager (Tools --> Manage AVDs...) also works without any problems.

Update 2

More bad news is AVD creation not working from command line tool too.

Update 3

Assuming some parameter passed during launching AVD manager from Eclipse causes these problems

Update 4

Updated Java to JDK 1.7 Update 51 and Eclipse Standard SDK to Kepler Service Release 2 their latest and no resolution to the problems. Also tested under Debian and same results obtained.

Update 5

At https://code.google.com/p/android/issues/detail?id=66661 android project members conforms the problems and promises to fix by upcoming versions of ADT (22.6.1 - 22.6.3). At the mean time I would suggest to roll-back ADT to a lower version version 22.3.0

To uninstall current ADT go to

Help --> About Eclipse --> Installation Details --> Android Development Tools --> Uninstall

I may suggest uninstalling whole packages from Android (DDMS, Hierarchy Viewer, NDT, Traceview, OpenGL ES..etc..) to avoid any possible compatibility issues and install a fresh new ADT from above link through archive installation method.

Hope this will solve this problem temporarily. And wait for new release of ADT here.

Update 6

New ADT, version 22.6.1 is out now which will solve these problems


To elaborate on the statement "I can create/edit AVDs if I run the AVD manager from outside eclipse" in the OP:

Run the following on the command line

<android-sdk-location>/tools/android avd (on Linux in this case)

This launches the same AVD window you see when you click the AVD Manager icon in the eclipse toolbar. But this instance of the AVD manager does not have the bug, and you can create and run emulators as you did before the bug was introduced.


1 minute solution

I used a quick workaround where I cloned a device that already existed. The Clone button worked and I was able to successfully edit the clone.

Steps:

Select a Device by Google

enter image description here

Click the "Clone..." button

enter image description here

A window will pop up, click "Clone device"

dddd

Select the newly cloned Device, it should say "... by User"

enter image description here

Click the "Edit" button on the side

enter image description here

There you have it, you now have your own custom virtual device

enter image description here