Eclipse Error: The refactoring does not change any source code

最近在做android项目的过程中遇到这样一个问题,新增一个activity的时候添加不成,eclipse提示The refactoring does not change any source code。百度了很久终于在Stack Overflow找到问题的解决方法。

言归正传,先把问题解决了。

原帖的内容就不粘贴在这里了。原帖是的回复是:

Check if you have older version of ADT plug-in.

You need to update ADT plug-in after updating SDK manager. Not just select "Help->Check for Updates" but select "Help->Install New Software..." and select the ADT site to install newer version of ADT plug-in.

大致的意思是:

检查你的旧版本adt插件。

你需要在升级SDK管理工具后升级adt。 选择“Help->Install New Software...”添加adt站点升级最新版本的adt插件。

最新的adt下载地址:https://dl-ssl.google.com/android/eclipse/

本人英语不太好哈,大家能看懂,把问题解决了就好了,不要太在意我这不标准的英语翻译。

原文地址:https://www.cnblogs.com/wangpf/p/4165796.html