我正在研究Eclipse中的一个项目,不幸的是我删除了一些文件并且无法将它们检索回来,所以我最终创建了一个新项目并重新导入了我的文件。当发生这种情况时,我现在收到了错误:
当我尝试更新时,它说已经更新了。我在我的项目中收到多个编译错误,并且在我删除文件之前一切都工作之前我不确定是怎么回事。
我看到它告诉我找不到DDMS文件..这是因为它没有拿起我的SDK吗?我试着帮忙 - >安装新软件并执行ADT,但似乎我已经安装了这个,因为之前一切正常。
有关如何继续/修复此问题的帮助将不胜感激,谢谢!
答案 0 :(得分:1)
似乎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.