package name in andriod
Right-click it.
Select Refactor.
Click on Rename.
In the pop-up dialog, click on Rename Package instead of Rename Directory.
Enter the new name and hit Refactor.
Click Do Refactor in the bottom.
Allow a minute to let Android Studio update all changes.
https://www.geeksforgeeks.org/how-to-rename-package-name-in-android-studio/