android run/debug configurations时报错Cannot reload AVD list:

时间:2022-05-09 01:23:52
问题:配置Android的run/debug configurations时报错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
android run/debug configurations时报错Cannot reload AVD list:
android run/debug configurations时报错Cannot reload AVD list:
解决方案:
1.找到Android的SDK安装目录下的devices.xml( /sdk/tools/lib/devices.xml)
2.替换以下两个目录的devices.xml
system-images\android-22\android-wear\x86\devices.xml
system-images\android-22\android-wear\armeabi-v7a\devices.xml