Eclipse错误:重构不会更改任何源代码 [英] Eclipse Error: The refactoring does not change any source code

查看:761
本文介绍了Eclipse错误:重构不会更改任何源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在mainactivity.java中做了一个小编码,现在我必须在android eclipse中的src文件夹中创建另一个java,但是我无法做到这一点。



我想创建如下所示



所以我想创建新的类stackinfoactivity。



我在菜单菜单中选择android活动后点击下一步



我选择空白并点击下一个



详细输入,点击下一步按钮



而不是创建一个类我收到一个错误我添加了所有唯一的细节是有任何问题,我的eclipse我需要纠正我的日食





我点击完成按钮活动将不会被创建我已经上面的图像



请任何人建议我如何正确摆脱这个错误

解决方案

检查是否有较旧版本的ADT插件。



更新SDK管理器后,您需要更新ADT插件。
不只是选择帮助 - 检查更新,而是选择帮助 - >安装新软件...,然后选择ADT站点来安装较新版本的ADT插件。



最新版本的ADT插件是22.6.0.v201403010043-1049357
升级SDK管理器和我的ADT插件后,我遇到了同样的问题当时是22.3。 检查更新总是告诉我没有可用的更新。


i have done one small coding in mainactivity.java and now i have to create another java in src folder in android eclipse but i am not able to do it

i want to create as shown below

so i want to create new class stackinfoactivity .

i click on the next after choosing android activity in the menu menu

i choose blank and hit next

details entered and click on next button

instead of creating a class i am getting an error i have added all the unique details is there any problem with my eclipse i need to correct my eclipse

i clicked on finish button the activity will not get created i have colored the image above

please anyone suggest me how to correct and get rid of this error

解决方案

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.

The recent version of ADT plug-in is 22.6.0.v201403010043-1049357 I had the same problem after I upgrade SDK manager and my ADT-plugin is 22.3 at that time. "Check for Updates" always tell me no update available.

这篇关于Eclipse错误:重构不会更改任何源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆