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

相關文章
相關標籤/搜索