package name in andriod

  1. Right-click it.

  2. Select Refactor.

  3. Click on Rename.

  4. In the pop-up dialog, click on Rename Package instead of Rename Directory.

  5. Enter the new name and hit Refactor.

  6. Click Do Refactor in the bottom.

  7. Allow a minute to let Android Studio update all changes.


https://www.geeksforgeeks.org/how-to-rename-package-name-in-android-studio/