Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
383 views
in Technique[技术] by (71.8m points)

java - Eclipse Error: The refactoring does not change any source code

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
enter image description here

so i want to create new class stackinfoactivity . enter image description here

i click on the next after choosing android activity in the menu menu enter image description here

i choose blank and hit next enter image description here

details entered and click on next button enter image description here

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

enter image description here

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...