Eclipse Error: The refactoring does not change any source code

后端 未结 2 1654
心在旅途
心在旅途 2020-12-10 09:59

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

相关标签:
2条回答
  • 2020-12-10 10:06

    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.

    0 讨论(0)
  • 2020-12-10 10:22

    You can do this also like following way.

    Right click on your Package name that is com.redpot.stockquote folder of your project then select new then select class you will get window like following images. (Please follow link as i don't have enough reputation to post images here)

    http://share.pho.to/4tXRY

    Here in Name just enter your activity name like StockInfiActivity. And then select Finish and you will see your Activity in your src folder.

    0 讨论(0)
提交回复
热议问题