Update Eclipse with Android development tools v. 23

前端 未结 30 2771
-上瘾入骨i
-上瘾入骨i 2020-11-22 00:35

I updated Eclipse with the new SDK tools (rev. 23), but now when Eclipse starts I receive the error:

This Android SDK requires Android Developer Toolk

30条回答
  •  遇见更好的自我
    2020-11-22 01:16

    Google response:

    This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:

    • http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
    • http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
    • http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip

    and copy over the following files:

    • tools/hprof-conv
    • tools/support/annotations.jar
    • tools/proguard

    So at the end if you started from a new ADT copy by hand the files :)

    Edit: with the latest ADT release, the bundle should now work with auto-update, so install these new versions:

    • linux 64 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
    • linux 32 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
    • mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
    • win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
    • win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip

    Don't try to upgrade from previous version because it doesn’t work at all. If you have got problems with zipalign, it's now under build-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.

提交回复
热议问题