Step 1: Go to the root of the main project in the application , right-click on the application and configure the application with a specific name (iPlanter example) and click ok
Step 2: Go to the project settings file, which is setting.gradle
setting.gradle file contains
include ':app'
Now you need to replace the application with a specific name.
For an example app, replace it with iPlanter to include ': application', it looks below
include ':iPlanter'
then run the Sync project, and then run the application. Finally, the application generates apk, for example iPlanter-debug.apk or iPlanter-release.apk .
source share