eclipse ADT 安装错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5946441/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
ADT Installation error
提问by Thinkerbelle
Im having a problem during I install ADT in eclipse Helios in Windows XP.. after I put this https://dl-ssl.google.com/android/eclipse/in Repository, it says Duplicate Location and I can't click for the next step..Thanks in Advance
我在 Windows XP 的 eclipse Helios 中安装 ADT 时遇到问题.. 在我将此https://dl-ssl.google.com/android/eclipse/放入存储库后,它显示重复位置,我无法点击下一步..提前致谢
采纳答案by Viktor Apoyan
Start development for Android in Eclipse
Now we must install ADT Plugin. For that we must launch Eclipse ( go to C:\Android\Eclipse and double click on eclipse.exe ) waiting for eclipse to be loaded. After eclipse is loaded successful we are going to Help ->Install New Software and there in the field work with we select this url: https://dl-ssl.google.com/android/eclipse/and press Enter button. Then, in appeared tree Developer Tools we select all subtrees and press Finish button. After all plugins will be installed Eclipse will suggest you to restart it. Press Restart Now. After restart we will have Eclipse with installed ADT Plugin.
现在我们必须安装 ADT 插件。为此,我们必须启动 Eclipse(转到 C:\Android\Eclipse 并双击 eclipse.exe )等待 Eclipse 加载。成功加载 eclipse 后,我们将转到帮助 -> 安装新软件,然后在现场使用我们选择此 url:https: //dl-ssl.google.com/android/eclipse/并按 Enter 按钮。然后,在出现的树开发工具中,我们选择所有子树并按完成按钮。安装完所有插件后,Eclipse 会建议您重新启动它。按立即重新启动。重新启动后,我们将拥有安装了 ADT 插件的 Eclipse。
Yesterday I try in this wayand all goes right, I install eclipse at home and run application on it. May be you can check it.
昨天我用这种方式尝试,一切顺利,我在家里安装了 eclipse 并在其上运行了应用程序。也许你可以检查一下。
回答by Ernesto
I got the same error message: "Duplicate location". Strange because the location is not in my list of sites.
我收到相同的错误消息:“重复的位置”。奇怪,因为该位置不在我的站点列表中。
I got rid of it downloading using http instead of https, though I understand this is just a workaround.
我摆脱了使用 http 而不是 https 的下载,尽管我知道这只是一种解决方法。
回答by vfdgvdfvbfd
try software update and in box mention mobile and device development there u see adt install it
尝试软件更新,然后在框中提及移动和设备开发,您会看到 adt 安装它
回答by Ben Taliadoros
Did you have a connection timeout originally?
您最初是否有连接超时?
I had this as I was using a weak connection. I got a 'good' connection and the same error appeared. Try removing the 's' from https and it will try to install to a new location.
我有这个,因为我使用的是弱连接。我得到了一个“良好”的连接并且出现了同样的错误。尝试从 https 中删除“s”,它会尝试安装到新位置。
Worked for me
对我来说有效
回答by slava
Under linux, I have successfully added this repository by removing the files from eclipse folder. Of course make a backup before removing any files.
在 linux 下,我通过从 eclipse 文件夹中删除文件成功添加了这个存储库。当然,在删除任何文件之前先进行备份。
p2/org.eclipse.equinox.p2.engine/profileRegistry/pdtProfile.profile/.data/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
p2/org.eclipse.equinox.p2.engine/profileRegistry/pdtProfile.profile/.data/.settings/org.eclipse.equinox.p2.metadata.repository.prefs
But before that I had same error. I was trying to add the repository to install plugin but instead i was receiving the error "Duplicate location" even if that record was not displayed in "Available software sites" window.
但在此之前我有同样的错误。我试图添加存储库以安装插件,但即使该记录未显示在“可用软件站点”窗口中,我也收到错误“重复位置”。
EDIT: Careful. This will delete other update/install software locations. You could eventually search and replace existing links from files above. But I did it my way, faster ( i don't need other software repository locations)
编辑:小心。这将删除其他更新/安装软件位置。您最终可以从上面的文件中搜索和替换现有链接。但我以我的方式更快地完成了(我不需要其他软件存储库位置)
回答by DSF
Go to Help ->Install New Software and then click in "Available software sites", a list of sites and folders will appear to you, so look for the one you want to remove (https://dl-ssl.google.com/android/eclipse/), click at that, then click to remove. I did so and worked :) Sorry by the bad English.
转到“帮助”->“安装新软件”,然后单击“可用软件站点”,将向您显示站点和文件夹列表,因此请查找要删除的站点和文件夹(https://dl-ssl.google.com /android/eclipse/),点击那个,然后点击删除。我这样做并工作了:) 对不起,英语不好。
回答by Maya
Help ->Install New Software then check for "What is already installed". Uninstall those things and then restart your eclipse. And then follow the same procedure you are currently following.
帮助 -> 安装新软件,然后检查“已经安装了什么”。卸载这些东西,然后重新启动你的 eclipse。然后按照您当前正在遵循的相同程序进行操作。
回答by doaa
i do this and it is successful first open help > install new software > write in he field of work with this url https://dl-ssl.google.com/android/eclipse/
我这样做并且成功了首先打开帮助>安装新软件>使用此网址在他的工作领域中写入 https://dl-ssl.google.com/android/eclipse/
this will succeed i try it
这会成功我试试