IDEA Error 12 "Unable to reload AVD list: Error parsing /tools/lib/devices.xml"?

I installed the new IntelliJ IDEA 12, Community Edition. I used it to open an Android project created in IDEA 11 (the latest version up to 12 appeared). When I tried to run the Android application, I had an error:

Unable to reload AVD list: Error Analysis MY_PATH / tools / lib / devices.xml

Has anyone got this error? How to solve it?

This is IDEA 12 for Linux 64-bit machines.

EDIT

I am using the SDK Tools r21.

+7
source share
4 answers

This solution is for those who (like me) in IDEA 11.x changed the contents of the XMl file Android-SDK/adt-bundle-linux/sdk/tools/lib/devices.xml .

The solution is to take the devices.xml file from the source SDK folder and copy it to lib into the Android SDK folder.

No need to touch devices.xml in the .android directory, as IDEA 12 disables it during installation.

0
source

Copy the devices.xml file with "../sdk/tools/lib/devices.xml."

to your local folder:

C: \ Users \ USERNAME.android \

Solved my problem.

+2
source

Unable to reload AVD list: error for parsing MY_PATH / tools / lib / devices.xml for this error

  • copy device.xml from C: \ Users \ admin \ AppData \ Local \ Android \ android-sdk \ tools \ device.xml

  • replace MY_PATH / tools / lib / devices.xml

0
source

I managed to get rid of this error after updating my SDK to 4.3 and sdk platform tools to 18. Thanks to the link below

How to have one SDK for Android and AVD for eclipse and android studio

-one
source

All Articles