I have already read varying answers to above question, but I have a specific problem. When I start Eclipse it gives an error:
> Error Parsing:
> C:\\an
I had the same problem and it appears when I updated my sdk packages and added sdk 22 I removed all wear packages from sdk 22 as well as other sdks but problem wasn't resolved I Updated all of my sdk packages again from sdk manager then problem solved and error gone.
I think there's been few bugs with eclipse and android wear packages which are fixed in new updates available in sdk manager
Copy the default devices.xml file from : /home/user/android-sdk/tools/lib/devices.xml
and paste it in the below paths: /android-sdk/system-images/android-22/android-wear/armeabi-v7a/ and /android-sdk/system-images/android-22/android-wear/x86/
This is a alternative solution, however, before replacing the devices.xml, take backup of the existing devices.xml file in these folders.
Feel tired deleting the android-wear related packages each time upgrading the sdk?
Try to make some changes to devices.xml
as following, you can edit the files by hand, or use some batching tools like repl.
repl is written by me, add this line to sources.list and install:
echo 'http://deb.bodz.net/ unstable/' >>/etc/apt/sources.list
alias sagu='sudo apt-get update'
alias sagi='sudo apt-get install'
sagu
sagi repl
Then, remove those <d:skin>
lines and replace ###dpi
to hdpi
or whatever.
repl -r --filter=devices.xml --mode=regexp -- '<d:skin>.*</d:skin>' '' .
repl -r --filter=devices.xml -- '280dpi' 'hdpi' .
repl -r --filter=devices.xml -- '360dpi' 'xhdpi' .
I solve this issue deleting the 10 packages in my android sdk manage.
I removed the packages indicated in the api 22 in the sdk and the problem is not resolved.
I edited device.xml of Applications / Android / android-sdk-macosx / system-images / android-22 / android-wear / x86 and of Applications / Android / android-sdk-macosx / system-images / android-22 / android-wear / armeabi-v7a I removed the lines containing "d:skin"
Finally restart eclipse and the problem was resolved!
Working fine after removing the Android Wear ARM EABI v7a system image and wear intel x86 Atom System image.