3

每次启动sdk时,我都会在控制台中遇到这个问题,

... Framework Resource Parser] Collect preferences failed, class java/lang/AutoCloseable not found in /Applications/adt-bundle-mac-x86_64-20130917/sdk/platforms/android-19/android.jar

为了解决这个问题,我找到了这个解决方案:Collect Preferences Failed by sunil。但是,当我尝试在此处找到的解决方案时:

I had the same problem, but I already resolved it now. Try the following steps

1 go Help | Install New Sofware...
2 select "Android Developer Tools Update Site - http://dl-  ssl.google.com/android/eclipse/".
3 press "Select All"
4 press "Finish"
Done

我收到以下“出现问题”:

在此处输入图像描述

我尝试使用 https 而不是 http 但我仍然遇到问题。有人可以告诉我出了什么问题以及如何解决吗?运行应用程序时似乎不会引起任何问题。

4

4 回答 4

14

更新时,取消选择“联系所有更新站点”。为我工作。

1 go Help | Install New Sofware...
2 select "Android Developer Tools Update Site - http://dl-ssl.google.com/android/eclipse/".
3 press "Select All"
4 UNCHECK "contact all update sites"
5 press "Finish"

干杯。

于 2014-04-30T05:22:08.687 回答
2

http://developer.android.com/sdk/installing/installing-adt.html 这是 adt 插件的链接 向下滚动直到您看到 adt 的可下载 zip 文件。下载它解压缩并将该zip文件的n个文件夹复制粘贴到eclipse文件夹如果提示覆盖,请选择yes..
你会很高兴..

于 2013-12-17T09:50:36.530 回答
1

在 Eclipse 帮助中->安装新软件->将下面的 URL 放入使用 URL :: https://dl-ssl.google.com/android/eclipse/

于 2014-11-19T09:11:58.047 回答
0

取消选择“联系所有更新站点”也对我有用。

于 2014-06-03T07:45:46.387 回答