1. From https://stackoverflow.com/questions/5443304/how-to-change-an-android-apps-name
By changing the android:label field in your application node in AndroidManifest.xml - Please make sure that you change label:
android:label="@string/title_activity_splash_screen"
in your Splash Screen activity in your strings.xml file. It can be found in Res -> Values -> strings.xml
2. change the package name - from
https://stackoverflow.com/questions/16804093/rename-package-in-android-studio
- In your Project pane, click on the little gear icon
- Uncheck the Compact Empty Middle Packages option
- Your package directory will now be broken up into individual directories
- Individually select each directory you want to rename, and:
- 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
- Note: When renaming com in Android Studio, it might give a warning. In such case, select Rename All
3. SmartWebView specific method - https://github.com/mgks/Kotlin-SmartWebView/issues/3
To change the build package name, change
File > Project Structure > Modules > Default config > Application ID
A commit with the name change is here.
No comments:
Post a Comment