The Android Package Renamer plugin "Safe And Fast Android Rename" allows users to safely and quickly change the package name of an Android project. This plugin uses a series of automated refactoring steps to ensure that all references to the old package name are updated throughout the project, without breaking the code or causing errors.
This plugin can rename packages in android project, here are a few specific cases (it can do more)::
- com.android.example -> org.nickseven.product
- com.android.example -> org.nickseven
- com.android.example -> org.nickseven.product.native
- com.android.etc.nick.d -> org.android.otd.nick.d
- ....etc
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Android Package Renamer" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
- Open Your Project.
- Click -> File -> Rename Package
- Input the Package you want to change.
- Click Ok.
- Sync Project with Gradle Files or Invalidate Caches
- ✔️ Gradle Groovy
- ✔️ Gradle Kotlin
To report a specific problem or feature request, open a new issue on Github. For questions, suggestions, or anything else, email phucvr.opensource@gmai.com
Apache 2.0. See the LICENSE file for details.
Plugin based on the IntelliJ Platform Plugin Template.