Android Virtual Device Manager (avd) not working in latest adt v21

Well, I used Indigo with the ADT v20 , and everything was fine, but I unexpectedly received an annoying update message to update sdk .

When I updated sdk , I had another problem that I need to update adt due to the current version of sdk that does not support the old adt . So, I did, and now clicking on the AVD Manager shortcut or navigating through Windows->AVD Manager does not work. Nothing happens when I click there. Some of my friends are also facing the same issue with Win7 and Ubuntu.

I found a similar question here . But I do not know why this question is closed.

+6
source share
2 answers

If you open the eclipse log file called .log in the .metadata directory (which is in your workspace), you may have the following exception:

! ENTRY org.eclipse.ui 4 0 2012-12-06 14: 17: 03.497! MESSAGE Unhandled event loop exception! STACK 0 java.lang.NullPointerException at com.android.sdklib.internal.avd.AvdInfo.getDeviceName (AvdInfo.java:158) in com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.fillDevices (DeviceManagerPagejava. ) at com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.fillTable (DeviceManagerPage.javahaps57) at com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.createContents (DeviceManagerPage.java:259) on com. android.sdkuilib.internal.repository.ui.DeviceManagerPage. (DeviceManagerPage.java:130)

See this link for a fix:

http://code.google.com/p/android/issues/detail?id=40400

I warn you that they will tell you to install "Tools 21.0.1 preview 1". They seem to have changed their name to "Android Development Tools".

I installed it and now it works for me.

+1
source

You need to run AVD Manager with administrator privileges. Or, a simple way: run it outside of the eclipse and create your own virtual devices there.

+1
source

All Articles