Eclipse — 每次启动都会Error when loading the SDK

来源:互联网 发布:2017淘宝销量排行榜 编辑:程序博客网 时间:2024/05/21 07:46

Eclipse 每次启动都会Error when loading the SDK,d: 发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素。


错误提示:

[2015-07-26 23:11:44 - Android SDK] Error when loading the SDK:

Error: Error parsing D:\soft\android-sdks\system-images\android-22\android-wear\armeabi-v7a\devices.xml
cvc-complex-type.2.4.d: 发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素。
Error: Error parsing D:\soft\android-sdks\system-images\android-22\android-wear\x86\devices.xml
cvc-complex-type.2.4.d: 发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素。


解决方法:

把你报错那个路径下面的devices.xml删除(比如本文中报错路径为D:\soft\android-sdks\system-images\android-22\android-wear\armeabi-v7a\devices.xml),然后再把sdk中tools/lib下的devices.xml 拷到刚才报错说的那个路径下。问题解决!

0 0
原创粉丝点击