I would like to know how to change the package name my project without having any errors. I tried so many times, but it ended with so many errors. Such as errors in import statements, R class errors....etc Please help me with this issue. Thanks
Asked
Active
Viewed 35 times
2 Answers
0
Try refactoring in IDE.In Eclipse, select the package from package explorer, then refactor(ALT+SHIFT+R
)

Gangaraju
- 4,406
- 9
- 45
- 77
-
Thanks for response Gangaraju, but it didn't solve my problem – Osanda Deshan Nimalarathna May 03 '16 at 08:36
0
change the package name manually in the manifest file. Click on your R.java class and the press F6 (Refactor->Move...). It will allow you to move the class to another package, and all references to that class will be updated.Refer to this https://stackoverflow.com/a/27232067/5710650