简体   繁体   English

eclipse和ADT版本的错误

[英]Errors with eclipse & ADT Version

I have been working in eclipse on my android app. 我一直在我的android应用程序中进行月食工作。

I have opened the IDE today and got this message: 我今天打开了IDE,并收到以下消息:

在此处输入图片说明

I tried to update the eclipse (Help ==> updates) 我试图更新日食(帮助==>更新)

but not updates were found. 但未找到更新。

Then i have clicked on the SDK-manager and updated the SDK as requested. 然后,我单击了SDK管理员,并按要求更新了SDK。

I have restarted my IDE and yet I get these errors: 我已经重新启动了IDE,但是却出现以下错误:

在此处输入图片说明

update 更新

I did what @Daan suggested 我做了@Daan建议的

but then I got: 但是我得到了:

在此处输入图片说明

This worked for me: 这对我有用:

Go to Help -> Install new software -> fill in this URL 转到帮助->安装新软件->填写此URL

https://dl-ssl.google.com/android/eclipse/ https://dl-ssl.google.com/android/eclipse/

download all Developer Tools and NDK Plugins, restart and it should work again. 下载所有开发人员工具和NDK插件,重新启动,它应该可以再次使用。

=========================================================================== ================================================== =========================

UPDATE AFTER UPDATE MAIN QUESTION 更新主要问题后进行更新

Found a simulair question about the error you got after u tried the above: 在您尝试了上述方法后,发现了有关您遇到的错误的simulair问题:

Answer: 回答:

Delete android-support-v4.jar from library and project. 从库和项目中删除android-support-v4.jar。 Then go in /extras/android/support/samples/Support4Demos/ and copy android-support-v4.jar and paste in libs folder of both. 然后进入/ extras / android / support / samples / Support4Demos /并复制android-support-v4.jar并粘贴到两者的libs文件夹中。

Source: 资源:

Found 2 versions of android-support-v4.jar in the dependency list appcompat in android 在android的依赖项列表appcompat中找到2个版本的android-support-v4.jar

This question is answered before in : 之前在中回答了这个问题:

Error Message : This Android SDK requires Android Developer Toolkit version 22.6.1 or above 错误消息:此Android SDK需要Android Developer Toolkit版本22.6.1或更高版本

However, this is the fix 但是,这就是解决方法

The problem is that the default update site in Android ADT is 问题是,Android ADT中的默认更新站点是

http://dl-ssl.google.com/android/eclipse/ http://dl-ssl.google.com/android/eclipse/

but this site don't update correctly 但是这个网站没有正确更新

And the solution is add a new Install site with protocol https 解决方案是使用协议https添加一个新的安装站点

https://dl-ssl.google.com/android/eclipse/ https://dl-ssl.google.com/android/eclipse/

Click in Help->Install New Software->Add 单击帮助->安装新软件->添加

And use this site to update ADT 并使用此网站更新ADT

Issue : https://code.google.com/p/android/issues/detail?id=67325 问题: https : //code.google.com/p/android/issues/detail?id=67325

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM