I am setting up eclipse and the Android sdk environment on Linux Ubuntu 14.04. I have followed this tutorial exactly and now I am almost at the end, but I get this “no child element is expected at this point”
What do I need to do?
I am new to Linux, and yes I have looked up the answer to this already, but the answer I found doesn’t seem to match up with what I need exactly and since I am a new user, I can’t figure this out on my own.
The solution is to remove package Android Wear ARM EABI v7a system image available under Android 5.1.1 (API 22) to resolve this problem.
Reference – Error Loading the sdk when eclipse is started
Just open the Android SDK Manager and delete both the Android Wear ARM EABI v7a system image and Androi Wear Intel x86 Atom SystemImage under Android 5.1.1 (API 22)
It worked for me.
Delete the Android Wear package from SDK manager And restart the eclipse
package (i) Android Wear ARM EABI v7a system image(5.1 API 22)
(ii) Android Wear Intel x86 Atom System Image(5.1 API 22)
I solved this problem by providing comment to d:skin element.open XML file from eclipse then then give comment using sysntax.
XML file is stored in system images package(android wear/armeabi-v7a and x86)
Instead of deleting XML file it is better option.
Delete the “Android Wear” folder from the below path:
C:\Users\amreen.s(your user folder name)\AppData\Local\Android\sdk\system-images\android-22
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.