Android-Studio:Cannot reload AVD list

Android-Studio:Cannot reload AVD list

今天用Android-Studio时点击"RUN"后出现如下错误,特此记录一下解决方案。

Cannot reload AVD list: cvc-enumeration-valid: Value '280dpi' is not facet-valid with respect to enumeration '[ldpi, mdpi, tvdpi, hdpi, xhdpi, 400dpi, xxhdpi, 560dpi, xxxhdpi]'. It must be a value from the enumeration.
Error parsing D:\sdkforas\android-sdk-windows\system-images\android-22\android-wear\armeabi-v7a\devices.xml
cvc-enumeration-valid: Value '280dpi' is not facet-valid with respect to enumeration '[ldpi, mdpi, tvdpi, hdpi, xhdpi, 400dpi, xxhdpi, 560dpi, xxxhdpi]'. It must be a value from the enumeration.


用/sdk/tools/lib/devices.xml 去替换

system-images\android-2X\android-wear\x86\devices.xml

system-images\android-2X\android-wear\armeabi-v7a\devices.xml中的devices.xml

转载于:https://www.cnblogs.com/Sunshine-tcf/p/5858327.html

你可能感兴趣的:(移动开发)