views:

231

answers:

2

I have an Android project created in eclipse.I want to modify the package name and application of the project.How to do that in eclipse?

Thanks, Dheepak

A: 

Press F2 then Rename it(Or Right click on the Project and select Rename). It changes wherever that package declared in your project its automatically renamed allover.

Praveen Chandrasekaran
A: 

As usual, by pressing F2 on package name, you can rename or change the package name, and also by Right-clicking and then select Rename option, you can change or rename the Package name.

When you press F2, it will show you the dialog box as:

alt text

In this dialog, dont forget to check "Update references" check box because by making "check" to this check-box, it will make changes to all the references of the package which are referred by other components of project.

Hope this helps you,

Enjoy !!!

PM - Paresh Mayani
Thanks Paresh! Used refactor....
Dheepak