Eclipse Development launcher often encounter renaming problem, change error or incomplete update, will cause a lot of hint error, so, make sure to back up the original project for fallback before renaming.
First, modify the source package name
1. Select Launcher Package
2. Press F2 or right mouse button to select Rename
Enter a new name, and all of the four checkboxes below are selected.
3. Click Preview
In the pop-up screen, click Continue to continue modifying the package and proceed to the next step to confirm the modification interface.
4, click OK to continue to modify
Wait for execution to complete.
Second, modify the Gen directory under the package name
Modify the method with the above, click on the Gen directory, select the package, press F2, enter the new package name
Third, modify the Eclipse project name
This step is optional, just modify the project name, and the actual directory name does not change.
Finally, select the Eclipse menu Project->clean, clear All existing Hu compilation status and cache files, re-establish the compilation state.
How eclipse modifies package names