How does Eclipse modify the package name?
During Eclipse development, launcher often encounters renaming problems. If the change is incorrect or the update is incomplete, a large number of errors are prompted. Therefore, you must back up the original project for rollback before renaming.
1. Modify the source package name
1. Select the launcher package
2. Press F2 or right-click to select Rename
Enter a new name and select all the following four checkpoints.
3. Click Preview.
On the displayed page, click "continue" to modify the package to go to the next step.
4. Click OK to continue modification.
Wait until the execution is completed.
Ii. Modify the package name under the gen directory
The modification method is the same as above. Open the gen directory, select the package, press F2, and enter the new package name.
3. Modify the Eclipse project name
This step is optional. Only the project name is modified, but the actual directory name does not change.
Finally, select Eclipse menu Project-> Clean to clear all existing Hu compilation statuses and cache files, and re-establish the compilation status.