cannot reload avd list问题

来源:互联网 发布:淘宝网男式内衣衬衫 编辑:程序博客网 时间:2024/04/29 07:09

原始链接:http://blog.csdn.net/gulinxieying/article/details/49757557

在Android studio中新建模拟器时出现cannot reload avd list问题错误:

这里写图片描述 
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. 
Error parsing D:\sdkforas\android-sdk-windows\system-images\android-22\android-wear\x86\devices.xml

解决方案: 
用/sdk/tools/lib/devices.xml去替换system-images\android-22\android-wear\x86\devices.xml和system-images\android-22\android-wear\armeabi-v7a\devices.xml中的devices.xml 
(注意:两个都需要替换)

我在运行程序时也出现了这样的情况,亲测有效。
0 0
原创粉丝点击