每次打开eclipse,都会自动弹框显示:
Error parsing
D:\sdkforas\android-sdk-windows\system-images\android-24\android-wear\x86\devices.xml
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;如图:
显示意思是说:'280dpi' 的值不具有面有效值,它必须是来自枚举的值;如图:
解决方法:
打开自己安装的sdk目录,找到/tools/lib/devices.xml去替换system-images\android-24\android-wear\x86\devices.xml和system-images\android-24\android-wear\armeabi-v7a\devices.xml中的devices.xml,如图:
问题解决!