Error loading the SDK when Eclipse starts

后端 未结 19 1063
余生分开走
余生分开走 2020-11-27 04:21

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         


        
相关标签:
19条回答
  • 2020-11-27 04:35

    This was my error message:

    Error: Error Parsing C:\Android\sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xml Invalid content was found starting with element 'd:Skin'. No child element is expected at this point.

    There´s a kind of problem with android Wear packages for API 22, so my solution was deleting this two packages from the API 22

    enter image description here

    0 讨论(0)
  • 2020-11-27 04:36

    execute with in under api level 19 right click on project go to preporty and then select android this pic look

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="19" />
    
    0 讨论(0)
  • 2020-11-27 04:38

    Check the

    • Android wear ARM EABI
    • Android wear Intel x86

    Than delete them and restart Eclipse IDE. This should fix the problem.

    0 讨论(0)
  • 2020-11-27 04:39

    I have faced the same parse sdk loading problem during eclipse startup like yours (Shown in image below)

    SDK load error

    The solution to above problem is to just delete(uninstall) the package Android Wear ARM EABI v7a system image available under Android 5.1.1 (API 22) if it's installed. (No need to uninstall whole 5.1.1 package). May be there is some eclipse bug with this package.

    solution image

    Finally restart eclipse to see your changes.

    Edit: If the problem still exists, try removing other Android Wear package also (i.e Android Wear Intel x86 Atom System Image) as suggested by @Abhishek in comments below.

    0 讨论(0)
  • 2020-11-27 04:42

    The issue is still coming for API 23. To get rid from this we have to uninstall android Wear packages for both API 22 and API 23 also (till current update).

    0 讨论(0)
  • 2020-11-27 04:44

    I couldn't delete the system image (idk why), so I took the approach of deleting all occurrences of g:skin in any xml file since eclipse don't know what that is:

    $ find . -type f -name "*.xml" -print0 | xargs -0 sed -i /d:skin/d
    

    On windows you might want to run it within Cygwin or cmder

    0 讨论(0)
提交回复
热议问题