Android SDK 需要 ADT 版本 23 或以上

标签 android eclipse cordova adt

我当时在 Eclipse 中处理一个项目,不幸的是我删除了一些文件并且无法取回它们,所以我最终创建了一个新项目并将我的文件重新导入。发生这种情况时,我现在收到一个错误:

enter image description here

当我尝试更新时,它说它已经更新了。我在我的项目中收到多个编译错误,并且不确定发生了什么,因为在我删除文件之前一切正常。

enter image description here

我看到它告诉我找不到 DDMS 文件。这是因为它没有获取我的 SDK 吗?我尝试帮助 -> 安装新软件并执行 ADT,但似乎我已经安​​装了它,因为之前一切正常。

enter image description here

在此问题上如何继续/修复的帮助将不胜感激,谢谢!

最佳答案

好像是eclipse在更新的时候编辑或者删除了文件

按照步骤更新eclipse

 1. Download Eclipse from the official site
 2. Download and install JDK latest version
 3. After installing the eclipse, go to Help > Install New Software.
 4. Click Add, in the top-right corner.
 5. In the Add Repository dialog that appears, enter "ADT Plugin" for the
Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/
Click OK.
 6. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
 7. In the next window, you'll see a list of the tools to be downloaded. Click Next.
 8. Read and accept the license agreements, then click Finish.If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
 9. When the installation completes, restart Eclipse.

关于Android SDK 需要 ADT 版本 23 或以上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30033621/

相关文章:

android - 在不消耗任何触摸事件的情况下收听滑动事件

android - 如何在 Amazon Fire TV 的 WebView 中播放 YouTube 视频?

java - 如何将我的项目转换回 IntelliJ 项目?

ios - Ionic 1 ios http 无法正常工作

android - 使用 HTML、Javascript 进行移动开发的最佳平台。除了 native 应用程序开发

ios - 如何在 Cordova 的 Meteor 中播放 YouTube 视频?

java - Android从文件路径获取图像到位图

android - 从移动应用程序到计算机的数据传输

java - 如何将 Eclipse 项目的 "Java Build Path"部分中引用的 jar 包含在使用 build.xml 文件通过 Ant 生成的 jar 文件中

java - eclipse中打包可执行jar文件报错