Error when loading the SDK devices.xml error

開啟eclipse後會跑出以下訊息:

devices.xml error

(1) Error: Error parsing E:AndroidANDadtadtsdksystem-imagesandroid-22android-weararmeabi-v7adevices.xml

(2) Error: Error parsing E:AndroidANDadtadtsdksystem-imagesandroid-22android-wearx86devices.xml

解決辦法如下:

1.把以下兩個目錄(請根據最初安裝Android目錄為主)的devices.xml刪除:

C:UsersuserAppDataLocalAndroidandroid-sdksystem-imagesandroid-22android-weararmeabi-v7adevices.xml

C:UsersuserAppDataLocalAndroidandroid-sdksystem-imagesandroid-22android-wearx86devices.xml

2.再將 C:UsersuserAppDataLocalAndroidandroid-sdktoolslibdevices.xml 複製到下面兩個目錄,重啟eclipse即可;

C:UsersuserAppDataLocalAndroidandroid-sdksystem-imagesandroid-22android-weararmeabi-v7a

C:UsersuserAppDataLocalAndroidandroid-sdksystem-imagesandroid-22android-wearx86