Error loading the SDK when Eclipse starts

后端 未结 19 1061
余生分开走
余生分开走 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:22

    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

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

    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.

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

    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' .
    
    0 讨论(0)
  • 2020-11-27 04:29

    I solve this issue deleting the 10 packages in my android sdk manage.

    enter image description here

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

    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!

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

    Working fine after removing the Android Wear ARM EABI v7a system image and wear intel x86 Atom System image.

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